newway/Jenkinsfile

18 lines
559 B
Plaintext
Raw Normal View History

2018-08-20 15:49:04 +00:00
#!groovy
build('newway', 'java-maven') {
checkoutRepo()
2019-04-24 06:42:40 +00:00
loadBuildUtils()
2018-08-20 15:49:04 +00:00
2019-04-24 06:42:40 +00:00
def javaServicePipeline
runStage('load JavaService pipeline') {
javaServicePipeline = load("build_utils/jenkins_lib/pipeJavaService.groovy")
2018-08-20 15:49:04 +00:00
}
2019-04-24 06:42:40 +00:00
def serviceName = env.REPO_NAME
def mvnArgs = '-DjvmArgs="-Xmx256m"'
def useJava11 = true
def registry = 'dr2.rbkmoney.com'
def registryCredsId = 'jenkins_harbor'
2018-08-20 15:49:04 +00:00
2019-04-24 06:42:40 +00:00
javaServicePipeline(serviceName, useJava11, mvnArgs, registry, registryCredsId)
2018-08-20 15:49:04 +00:00
}