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 {
agent {
docker {
reuseNode true
image 'rust:1-bullseye'
}
}
agent any
stages {
stage('Build release binary') {
agent {
docker {
reuseNode true
image 'rust:1-bullseye'
}
}
steps {
sh 'cargo build --release'
}