test15
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good

This commit is contained in:
2020-05-13 22:07:07 +02:00
parent 39bea9a9d5
commit 846775a7c2
2 changed files with 5 additions and 2 deletions

5
Jenkinsfile vendored
View File

@@ -14,7 +14,10 @@ pipeline {
} }
steps { steps {
sh 'echo $BRANCH_NAME' sh 'echo $BRANCH_NAME'
sh 'sudo bash ./jenkins/buildFrontend.sh ${BRANCH_NAME}' script{
def SCRIPT_OUTPUT = sh (script: 'sudo bash ./jenkins/buildFrontend.sh ${BRANCH_NAME}',returnStdout: true)
echo "Script Output: ${SCRIPT_OUTPUT}"
}
} }
} }
stage('Deploy Backend') { stage('Deploy Backend') {

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env sh #!/usr/bin/env sh
cd ./Frontend cd ./frontend
if test "$BRANCH_NAME" = "edit-jenkinsfile" if test "$BRANCH_NAME" = "edit-jenkinsfile"
then then