Added a test stage to the jenkins build.
This commit is contained in:
parent
2e21956de3
commit
9a0df6a9f5
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -1,10 +1,15 @@
|
||||
pipeline {
|
||||
agent { dockerfile true }
|
||||
stages {
|
||||
stage('build') {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'cargo build'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh 'cargo test --all'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user