mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Added a test stage to the jenkins build.
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -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'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user