Skip to content

Commit 5d12119

Browse files
authored
Allow users to set docker info (#4748)
Signed-off-by: Lan Xia <[email protected]>
1 parent 024909f commit 5d12119

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

buildenv/jenkins/aqaTestPipeline.groovy

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ def TEST_FLAG = (params.TEST_FLAG) ?: ""
1717
def APPLICATION_OPTIONS = (params.APPLICATION_OPTIONS) ?: ""
1818
def SETUP_JCK_RUN = params.SETUP_JCK_RUN ?: false
1919
def LIGHT_WEIGHT_CHECKOUT = params.LIGHT_WEIGHT_CHECKOUT ?: false
20+
def DOCKER_REGISTRY_URL = (params.DOCKER_REGISTRY_URL) ?: ""
21+
def DOCKER_REGISTRY_URL_CREDENTIAL_ID = (params.DOCKER_REGISTRY_URL_CREDENTIAL_ID) ?: ""
2022

2123

2224
// Use BUILD_USER_ID if set and jdk-JDK_VERSIONS
@@ -122,6 +124,8 @@ JDK_VERSIONS.each { JDK_VERSION ->
122124
string(name: 'LABEL_ADDITION', value: LABEL_ADDITION),
123125
string(name: 'TEST_FLAG', value: TEST_FLAG),
124126
string(name: 'APPLICATION_OPTIONS', value: APPLICATION_OPTIONS),
127+
string(name: 'DOCKER_REGISTRY_URL', value: DOCKER_REGISTRY_URL),
128+
string(name: 'DOCKER_REGISTRY_URL_CREDENTIAL_ID', value: DOCKER_REGISTRY_URL_CREDENTIAL_ID),
125129
booleanParam(name: 'KEEP_REPORTDIR', value: keep_reportdir),
126130
booleanParam(name: 'SETUP_JCK_RUN', value: SETUP_JCK_RUN)
127131
], wait: true

0 commit comments

Comments
 (0)