fix: run only build step on docker

This commit is contained in:
Araozu 2024-10-18 21:11:40 -05:00
parent 62e9606736
commit cabdaa755b

13
Jenkinsfile vendored
View File

@ -1,12 +1,13 @@
pipeline { pipeline {
agent { agent any
docker {
reuseNode true
image 'rust:1-bullseye'
}
}
stages { stages {
stage('Build release binary') { stage('Build release binary') {
agent {
docker {
reuseNode true
image 'rust:1-bullseye'
}
}
steps { steps {
sh 'cargo build --release' sh 'cargo build --release'
} }