fix(ci): use stash

This commit is contained in:
andreas 2019-05-13 22:01:20 +02:00
parent d5710f5f56
commit 46538fce3c

5
Jenkinsfile vendored
View File

@ -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'