2021-08-02 07:41:25 +00:00
|
|
|
#!groovy
|
|
|
|
// -*- mode: groovy -*-
|
|
|
|
|
|
|
|
build('magista-proto', 'docker-host') {
|
|
|
|
checkoutRepo()
|
|
|
|
loadBuildUtils()
|
|
|
|
|
|
|
|
def pipeDefault
|
|
|
|
def gitUtils
|
|
|
|
runStage('load pipeline') {
|
|
|
|
env.JENKINS_LIB = "build_utils/jenkins_lib"
|
|
|
|
pipeDefault = load("${env.JENKINS_LIB}/pipeDefault.groovy")
|
|
|
|
pipeJavaProto = load("${env.JENKINS_LIB}/pipeJavaProto.groovy")
|
|
|
|
gitUtils = load("${env.JENKINS_LIB}/gitUtils.groovy")
|
|
|
|
}
|
|
|
|
|
2021-08-11 06:57:19 +00:00
|
|
|
runStage('compile') {
|
|
|
|
withGithubPrivkey {
|
|
|
|
sh "make wc_compile"
|
2021-08-02 07:41:25 +00:00
|
|
|
}
|
2021-08-11 06:57:19 +00:00
|
|
|
}
|
2021-08-02 07:41:25 +00:00
|
|
|
|
2021-08-11 06:57:19 +00:00
|
|
|
pipeDefault() {
|
2021-08-02 07:41:25 +00:00
|
|
|
env.skipSonar = 'true'
|
|
|
|
pipeJavaProto()
|
|
|
|
}
|
2021-08-11 06:57:19 +00:00
|
|
|
}
|