fix: run only build step on docker
This commit is contained in:
parent
62e9606736
commit
cabdaa755b
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user