Added a test stage to the jenkins build.
pipeline {
agent { dockerfile true }
stages {
- stage('build') {
+ stage('Build') {
steps {
sh 'cargo build'
}
}
+ stage('Test') {
+ steps {
+ sh 'cargo test --all'
+ }
+ }
}
}
