Adding some logging to Jenkinsfile for debug (#265)
This commit is contained in:
parent
ffa6f816d5
commit
5279283b39
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -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"
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user