dnstp/.jenkins/jenkinsfile

22 lines
361 B
Plaintext
Raw Normal View History

2024-01-28 19:44:03 +00:00
pipeline {
agent any
stages {
stage('Build') {
steps {
sh 'source ~/.cargo/env && cargo build'
}
}
stage('Test') {
steps {
sh 'source ~/.cargo/env && cargo test'
2024-01-28 19:44:03 +00:00
}
}
}
post {
always {
cleanWs()
}
}
}