using docker image for building
This commit is contained in:
parent
fcca086685
commit
e101d4e403
@ -3,12 +3,22 @@ pipeline {
|
||||
|
||||
stages {
|
||||
stage('Build') {
|
||||
agent {
|
||||
docker {
|
||||
image 'rust:1.75.0-slim'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'cargo build'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Test') {
|
||||
agent {
|
||||
docker {
|
||||
image 'rust:1.75.0-slim'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'cargo test'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user