19 lines
248 B
Groovy
19 lines
248 B
Groovy
pipeline {
|
|
agent {
|
|
docker {
|
|
image 'rust:latest'
|
|
}
|
|
}
|
|
stages {
|
|
stage('Check') {
|
|
steps {
|
|
sh "cargo check"
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
sh "cargo test"
|
|
}
|
|
}
|
|
}
|
|
} |