Added jenkinsfile describing build and test pipeline
This commit is contained in:
parent
2c154bb255
commit
d3c78c3a7a
1 changed files with 18 additions and 0 deletions
18
Jenkinsfile
vendored
Normal file
18
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
stages {
|
||||||
|
stage('build') {
|
||||||
|
steps {
|
||||||
|
sh './bootstrap.sh'
|
||||||
|
sh './configure --prefix=/tmp/core_build'
|
||||||
|
sh 'make'
|
||||||
|
sh 'make install'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('test') {
|
||||||
|
steps {
|
||||||
|
sh 'pytest'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue