Add a simple Jenkinsfile
This commit is contained in:
parent
a5c501665e
commit
4b41913480
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* This Jenkinsfile is for internal use
|
||||
*/
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'rust'
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
checkout scm
|
||||
}
|
||||
stage('Build') {
|
||||
sh 'cargo build'
|
||||
}
|
||||
stage('Test') {
|
||||
sh 'cargo test'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// vim: ft=groovy sw=2 ts=2 et
|
Loading…
Reference in New Issue