2018-05-29 17:15:58 +00:00
|
|
|
#!groovy
|
|
|
|
build('googlepay-provider', 'java-maven') {
|
|
|
|
checkoutRepo()
|
2019-06-27 10:29:34 +00:00
|
|
|
loadBuildUtils()
|
2018-05-29 17:15:58 +00:00
|
|
|
|
2019-06-27 10:29:34 +00:00
|
|
|
def javaServicePipeline
|
|
|
|
runStage('load JavaService pipeline') {
|
|
|
|
javaServicePipeline = load("build_utils/jenkins_lib/pipeJavaService.groovy")
|
2018-05-29 17:15:58 +00:00
|
|
|
}
|
|
|
|
|
2019-06-27 10:29:34 +00:00
|
|
|
def serviceName = env.REPO_NAME
|
|
|
|
def mvnArgs = '-DjvmArgs="-Xmx256m"'
|
|
|
|
def useJava11 = true
|
|
|
|
def registry = 'dr2.rbkmoney.com'
|
|
|
|
def registryCredsId = 'jenkins_harbor'
|
2018-05-29 17:15:58 +00:00
|
|
|
|
2019-06-27 10:29:34 +00:00
|
|
|
javaServicePipeline(serviceName, useJava11, mvnArgs, registry, registryCredsId)
|
|
|
|
}
|