Skip to content

Commit

Permalink
Allow = in docker args
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart X Addison <[email protected]>
  • Loading branch information
sxa committed Mar 11, 2024
1 parent 89bf904 commit 243fb2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1892,7 +1892,7 @@ class Build {

context.println "[NODE SHIFT] MOVING INTO DOCKER NODE MATCHING LABELNAME ${label}..."
if ( ! ( "${buildConfig.DOCKER_IMAGE}" ==~ /^[A-Za-z0-9\/\.\-_:]*$/ ) ||
! ( "${buildConfig.DOCKER_ARGS}" ==~ /^[A-Za-z0-9\/\.\-_\ ]*$/ ) ) {
! ( "${buildConfig.DOCKER_ARGS}" ==~ /^[A-Za-z0-9\/\.\-_=\ ]*$/ ) ) {
throw new Exception("[ERROR] Dubious characters in DOCKER* image or parameters: ${buildConfig.DOCKER_IMAGE} ${buildConfig.DOCKER_ARGS} - aborting");
}
context.node(label) {
Expand Down

0 comments on commit 243fb2b

Please sign in to comment.