fix(ci): move docker build to post stage

This commit is contained in:
andreas 2019-05-13 21:37:46 +02:00
parent 575675007a
commit 9fd762f034

15
Jenkinsfile vendored
View File

@ -6,8 +6,12 @@ pipeline {
sh 'cargo build'
}
}
stage('docker') {
steps {
}
post {
success {
archiveArtifacts artifacts: 'target/debug/telegram-leetbot', fingerprint: true
echo 'Starting docker image build'
script {
@ -15,11 +19,4 @@ pipeline {
}
}
}
}
post {
success {
archiveArtifacts artifacts: 'target/debug/telegram-leetbot', fingerprint: true
}
}
}