test7
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:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -16,10 +16,7 @@ pipeline {
|
|||||||
sh 'echo $AN_ACCESS_KEY'
|
sh 'echo $AN_ACCESS_KEY'
|
||||||
sh 'echo $BRANCH_NAME'
|
sh 'echo $BRANCH_NAME'
|
||||||
sh 'sudo bash ./jenkins/buildFrontend.sh'
|
sh 'sudo bash ./jenkins/buildFrontend.sh'
|
||||||
SCRIPT_OUTPUT = sh (
|
def SCRIPT_OUTPUT = sh (script: 'sudo bash ./jenkins/buildFrontend.sh',returnStdout: true).trim()
|
||||||
script: 'sudo bash ./jenkins/buildFrontend.sh',
|
|
||||||
returnStdout: true
|
|
||||||
).trim()
|
|
||||||
echo "Script Output: ${SCRIPT_OUTPUT}"
|
echo "Script Output: ${SCRIPT_OUTPUT}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user