test15
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
All checks were successful
SimcoDash/simcompanies-dashboard/pipeline/head This commit looks good
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -14,7 +14,10 @@ pipeline {
|
||||
}
|
||||
steps {
|
||||
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') {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
cd ./Frontend
|
||||
cd ./frontend
|
||||
|
||||
if test "$BRANCH_NAME" = "edit-jenkinsfile"
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user