dnstp/.jenkins/jenkinsfile

31 lines
545 B
Plaintext

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