test12
Some checks failed
SimcoDash/simcompanies-dashboard/pipeline/head There was a failure building this commit
Some checks failed
SimcoDash/simcompanies-dashboard/pipeline/head There was a failure building this commit
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -15,7 +15,8 @@ pipeline {
|
||||
steps {
|
||||
sh 'echo $BRANCH_NAME'
|
||||
script{
|
||||
def SCRIPT_OUTPUT = sh (script: 'sudo bash ./jenkins/buildFrontend.sh',returnStdout: true)
|
||||
|
||||
def SCRIPT_OUTPUT = sh (script: 'bash -c \" source ./jenkins/buildFrontend.sh ${BRANCH_NAME}\""',returnStdout: true)
|
||||
echo "Script Output: ${SCRIPT_OUTPUT}"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,5 +9,5 @@ then
|
||||
echo 'Build Frontend for Production'
|
||||
yarn run build
|
||||
else
|
||||
echo "$env.BRANCH_NAME"
|
||||
echo $BRANCH_NAME
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user