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

7
Jenkinsfile vendored
View File

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