This commit is contained in:
Robert Schumann 2021-12-10 22:48:00 +01:00
parent aadc22d760
commit b7a924ea5a

4
Jenkinsfile vendored
View File

@ -11,12 +11,11 @@ properties([
node { node {
try { try {
setBuildStatus('In progress...', 'PENDING')
pipeline() pipeline()
setBuildStatus('Success', 'SUCCESS') setBuildStatus('Success', 'SUCCESS')
} }
catch(e) { catch(e) {
// setBuildStatus(e.toString().take(140), 'FAILURE') setBuildStatus(e.toString().take(140), 'FAILURE')
throw e throw e
} }
finally { finally {
@ -29,6 +28,7 @@ node {
def pipeline() { def pipeline() {
stage('checkout') { stage('checkout') {
checkout scm checkout scm
setBuildStatus('In progress...', 'PENDING')
} }
stage('image build') { stage('image build') {