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 {
|
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'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user