magista-proto/Jenkinsfile
2021-08-11 13:57:19 +07:00

28 lines
632 B
Groovy

#!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"
}
}
pipeDefault() {
env.skipSonar = 'true'
pipeJavaProto()
}
}