Create Jenkinsfile
This commit is contained in:
parent
f82a6ba679
commit
509963f049
|
|
@ -0,0 +1,34 @@
|
||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage ('Pre-Build') {
|
||||||
|
steps {
|
||||||
|
sh 'make grpc'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('Compile') {
|
||||||
|
steps {
|
||||||
|
sh 'make grpc daemon-compile'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage ('Post-Compile') {
|
||||||
|
parallel {
|
||||||
|
stage('Codestyle') {
|
||||||
|
steps {
|
||||||
|
sh 'make daemon-codestyle'
|
||||||
|
sh 'make webui-codestyle'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('UnitTests') {
|
||||||
|
steps {
|
||||||
|
sh 'make daemon-unittests'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue