antifraud/Jenkinsfile

18 lines
562 B
Plaintext
Raw Normal View History

2017-08-15 08:41:15 +00:00
#!groovy
build('antifraud', 'java-maven') {
checkoutRepo()
2019-06-26 09:49:47 +00:00
loadBuildUtils()
2017-08-15 08:41:15 +00:00
2019-06-26 09:49:47 +00:00
def javaServicePipeline
runStage('load JavaService pipeline') {
javaServicePipeline = load("build_utils/jenkins_lib/pipeJavaService.groovy")
2017-08-15 08:41:15 +00:00
}
2019-06-26 09:49:47 +00:00
def serviceName = env.REPO_NAME
def mvnArgs = '-DjvmArgs="-Xmx256m"'
def useJava11 = true
def registry = 'dr2.rbkmoney.com'
def registryCredsId = 'jenkins_harbor'
2017-08-15 08:41:15 +00:00
2019-06-26 09:49:47 +00:00
javaServicePipeline(serviceName, useJava11, mvnArgs, registry, registryCredsId)
2017-08-15 08:41:15 +00:00
}