fix: run only build step on docker
This commit is contained in:
parent
62e9606736
commit
cabdaa755b
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -1,12 +1,13 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
|
agent any
|
||||||
|
stages {
|
||||||
|
stage('Build release binary') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
reuseNode true
|
reuseNode true
|
||||||
image 'rust:1-bullseye'
|
image 'rust:1-bullseye'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stages {
|
|
||||||
stage('Build release binary') {
|
|
||||||
steps {
|
steps {
|
||||||
sh 'cargo build --release'
|
sh 'cargo build --release'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user