mirror of
https://github.com/valitydev/woody_erlang_user_identity.git
synced 2024-11-06 08:55:18 +00:00
fe973ab27f
* Bump Woody (#4) * Fixed typo in elvis config * bumped woody to erlang 21 version * Bump build_image_tag and dialyzer version * updated woody branch, bumped build_image and utils
44 lines
842 B
Groovy
44 lines
842 B
Groovy
#!groovy
|
|
|
|
def finalHook = {
|
|
runStage('store CT logs') {
|
|
archive '_build/test/logs/'
|
|
}
|
|
}
|
|
|
|
build('woody_user_identity', 'docker-host', finalHook) {
|
|
checkoutRepo()
|
|
loadBuildUtils()
|
|
|
|
def pipeDefault
|
|
def withWsCache
|
|
runStage('load pipeline') {
|
|
env.JENKINS_LIB = "build_utils/jenkins_lib"
|
|
pipeDefault = load("${env.JENKINS_LIB}/pipeDefault.groovy")
|
|
withWsCache = load("${env.JENKINS_LIB}/withWsCache.groovy")
|
|
}
|
|
|
|
pipeDefault() {
|
|
runStage('compile') {
|
|
withGithubPrivkey {
|
|
sh 'make wc_compile'
|
|
}
|
|
}
|
|
runStage('lint') {
|
|
sh 'make wc_lint'
|
|
}
|
|
runStage('xref') {
|
|
sh 'make wc_xref'
|
|
}
|
|
runStage('dialyze') {
|
|
withWsCache("_build/default/rebar3_21.1.1_plt") {
|
|
sh 'make wc_dialyze'
|
|
}
|
|
}
|
|
runStage('test') {
|
|
sh "make wc_test"
|
|
}
|
|
}
|
|
}
|
|
|