Adding some logging to Jenkinsfile for debug (#265)

This commit is contained in:
Philip Hutchins 2018-08-22 09:18:50 -04:00 committed by Matt Robinson
parent ffa6f816d5
commit 5279283b39

11
Jenkinsfile vendored
View File

@ -1,12 +1,17 @@
node('node') {
try {
currentBuild.result = "SUCCESS"
stage('Checkout') {
checkout scm
echo "Current build result: ${currentBuild.result}"
}
stage('Build Images') {
sh 'make test-docker images'
echo "Current build result: ${currentBuild.result}"
}
stage('Push Images') {
@ -14,6 +19,8 @@ node('node') {
echo 'Push to Repo'
sh 'make push-images'
}
echo "Current build result: ${currentBuild.result}"
}
stage('Deploy') {
@ -25,11 +32,13 @@ node('node') {
}
}
return
echo "Current build result: ${currentBuild.result}"
}
}
catch (err) {
echo "Caught errors! ${err}"
echo "Setting build result to FAILURE"
currentBuild.result = "FAILURE"
/*