party-management/Jenkinsfile

41 lines
715 B
Plaintext
Raw Normal View History

#!groovy
// Args:
// GitHub repo name
// Jenkins agent label
// Tracing artifacts to be stored alongside build logs
pipeline("hellgate", 'docker-host', "_build/") {
2016-07-15 12:23:13 +00:00
runStage('submodules') {
sh 'make w_container_submodules'
2016-07-15 12:23:13 +00:00
}
runStage('compile') {
sh 'make w_container_compile'
}
// ToDo: Uncomment the stage as soon as Elvis is in the build image!
// runStage('lint') {
// sh 'make w_container_lint'
// }
runStage('xref') {
sh 'make w_container_xref'
}
runStage('test') {
sh "make w_compose_test"
}
runStage('dialyze') {
sh 'make w_container_dialyze'
}
if (env.BRANCH_NAME == 'master') {
runStage('push container') {
sh 'make push'
}
}
}