file-storage/Jenkinsfile

19 lines
522 B
Plaintext
Raw Normal View History

2018-11-23 12:23:28 +00:00
#!groovy
2018-12-04 12:24:35 +00:00
build('file-storage', 'java-maven') {
2018-11-23 12:23:28 +00:00
checkoutRepo()
loadBuildUtils()
2018-11-23 12:23:28 +00:00
def javaServicePipeline
runStage('load JavaService pipeline') {
javaServicePipeline = load("build_utils/jenkins_lib/pipeJavaService.groovy")
2018-12-04 12:24:35 +00:00
}
2018-11-23 12:23:28 +00:00
def serviceName = env.REPO_NAME
def mvnArgs = '-DjvmArgs="-Xmx256m"'
2019-07-22 13:10:08 +00:00
def useJava11 = true
2019-07-23 08:07:49 +00:00
def registry = 'dr2.rbkmoney.com'
def registryCredsId = 'jenkins_harbor'
2018-12-04 12:24:35 +00:00
2019-07-23 10:17:31 +00:00
javaServicePipeline(serviceName, useJava11, mvnArgs, registry, registryCredsId)
}