try this
This commit is contained in:
parent
0243621cd3
commit
a5b3fa56f1
|
@ -1,11 +1,11 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent any
|
||||||
docker { image 'rust:latest' }
|
|
||||||
}
|
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
withDockerContainer('rust:latest') {
|
||||||
sh 'cargo build --release'
|
steps {
|
||||||
|
sh 'cargo build --release'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
|
|
Loading…
Reference in New Issue