Merge pull request #10 from rbkmoney/update-build_utils

Update build_utils
This commit is contained in:
Sergey Yelin 2020-07-27 21:10:50 +03:00 committed by GitHub
commit 013525713c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 21 deletions

29
Jenkinsfile vendored
View File

@ -4,28 +4,17 @@ build('logger_logstash_formatter', 'docker-host') {
checkoutRepo()
loadBuildUtils()
def pipeDefault
def pipeErlangLib
runStage('load pipeline') {
env.JENKINS_LIB = "build_utils/jenkins_lib"
pipeDefault = load("${env.JENKINS_LIB}/pipeDefault.groovy")
env.SH_TOOLS = "build_utils/sh"
pipeErlangLib = load("${env.JENKINS_LIB}/pipeErlangLib.groovy")
}
pipeDefault() {
runStage('compile') {
sh 'make wc_compile'
}
runStage('lint') {
sh 'make wc_lint'
}
runStage('dialyzer') {
sh 'make wc_dialyze'
}
runStage('xref') {
sh 'make wc_xref'
}
runStage('test') {
sh "make wc_test"
}
}
// 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)
}

@ -1 +1 @@
Subproject commit 4e6aae0f31885d3c56d09c72de7ef8d432149dbf
Subproject commit 540183862bc9fd04682e226de2056a320fd44be9