test12
Some checks failed
SimcoDash/simcompanies-dashboard/pipeline/head There was a failure building this commit

This commit is contained in:
2020-05-13 21:56:22 +02:00
parent e5d74a47ea
commit 5bd9a5ec4c
2 changed files with 3 additions and 2 deletions

3
Jenkinsfile vendored
View File

@@ -15,7 +15,8 @@ pipeline {
steps { steps {
sh 'echo $BRANCH_NAME' sh 'echo $BRANCH_NAME'
script{ 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}" echo "Script Output: ${SCRIPT_OUTPUT}"
} }
} }

View File

@@ -9,5 +9,5 @@ then
echo 'Build Frontend for Production' echo 'Build Frontend for Production'
yarn run build yarn run build
else else
echo "$env.BRANCH_NAME" echo $BRANCH_NAME
fi fi