magista-proto/Jenkinsfile

28 lines
632 B
Plaintext
Raw Normal View History

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")
}
runStage('compile') {
withGithubPrivkey {
sh "make wc_compile"
2021-08-02 07:41:25 +00:00
}
}
2021-08-02 07:41:25 +00:00
pipeDefault() {
2021-08-02 07:41:25 +00:00
env.skipSonar = 'true'
pipeJavaProto()
}
}