mirror of
https://github.com/valitydev/logger_logstash_formatter.git
synced 2024-11-06 10:35:23 +00:00
Merge pull request #10 from rbkmoney/update-build_utils
Update build_utils
This commit is contained in:
commit
013525713c
29
Jenkinsfile
vendored
29
Jenkinsfile
vendored
@ -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
|
Loading…
Reference in New Issue
Block a user