Added a test stage to the jenkins build.

This commit is contained in:
Luke Anderson 2019-01-29 01:05:03 +11:00
parent 2e21956de3
commit 9a0df6a9f5
No known key found for this signature in database
GPG Key ID: 44408169EC61E228

7
Jenkinsfile vendored
View File

@ -1,10 +1,15 @@
pipeline { pipeline {
agent { dockerfile true } agent { dockerfile true }
stages { stages {
stage('build') { stage('Build') {
steps { steps {
sh 'cargo build' sh 'cargo build'
} }
} }
stage('Test') {
steps {
sh 'cargo test --all'
}
}
} }
} }