dnstp/.jenkins/jenkinsfile
2024-02-01 22:26:09 +00:00

32 lines
560 B
Plaintext

pipeline {
agent none
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'
}
}
}
post {
always {
cleanWs()
}
}
}