fix(ci): move docker build to post stage
This commit is contained in:
parent
575675007a
commit
9fd762f034
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@ -6,8 +6,12 @@ pipeline {
|
|||||||
sh 'cargo build'
|
sh 'cargo build'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('docker') {
|
}
|
||||||
steps {
|
|
||||||
|
post {
|
||||||
|
success {
|
||||||
|
archiveArtifacts artifacts: 'target/debug/telegram-leetbot', fingerprint: true
|
||||||
|
|
||||||
echo 'Starting docker image build'
|
echo 'Starting docker image build'
|
||||||
|
|
||||||
script {
|
script {
|
||||||
@ -15,11 +19,4 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
post {
|
|
||||||
success {
|
|
||||||
archiveArtifacts artifacts: 'target/debug/telegram-leetbot', fingerprint: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user