fix(ci): use stash
This commit is contained in:
parent
d5710f5f56
commit
46538fce3c
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -9,13 +9,16 @@ pipeline {
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'cargo build'
|
||||
sh 'cargo build --release'
|
||||
stash includes: 'target/release/telegram-leetbot', name: 'app'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
success {
|
||||
unstash 'app'
|
||||
|
||||
archiveArtifacts artifacts: 'target/debug/telegram-leetbot', fingerprint: true
|
||||
|
||||
echo 'Starting docker image build'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user