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