woody_erlang_user_identity/Jenkinsfile
2020-07-27 21:10:40 +03:00

28 lines
657 B
Groovy

#!groovy
def finalHook = {
runStage('store CT logs') {
archive '_build/test/logs/'
}
}
build('woody_user_identity', 'docker-host', finalHook) {
checkoutRepo()
loadBuildUtils()
def pipeErlangLib
runStage('load pipeline') {
env.JENKINS_LIB = "build_utils/jenkins_lib"
env.SH_TOOLS = "build_utils/sh"
pipeErlangLib = load("${env.JENKINS_LIB}/pipeErlangLib.groovy")
}
// NOTE: Parallel pipeline almost always fails because of
// rebar3's design (it uses link for libraries, so
// parallel runs with different profiles brake each other)
// To prevent this use sequential pipleine here
pipeErlangLib.runPipe(false)
}