diff --git a/jobs/build/ocp4-konflux/Jenkinsfile b/jobs/build/ocp4-konflux/Jenkinsfile index 7839758bf9..680aa055ae 100644 --- a/jobs/build/ocp4-konflux/Jenkinsfile +++ b/jobs/build/ocp4-konflux/Jenkinsfile @@ -42,6 +42,12 @@ node { description: 'Do not wait for other builds in this version to complete (use only if you know they will not conflict)', defaultValue: false ), + string( + name: 'PLR_TEMPLATE_COMMIT', + description: 'Override the Pipeline Run template commit from openshift-priv/art-konflux-template; Format is ghuser@commitish e.g. jupierce@covscan-to-podman-2', + defaultValue: "", + trim: true, + ), string( name: 'ASSEMBLY', description: 'The name of an assembly to rebase & build for. If assemblies are not enabled in group.yml, this parameter will be ignored', @@ -128,6 +134,9 @@ node { cmd << "--arch" << arch.trim() } } + if (params.PLR_TEMPLATE_COMMIT) { + cmd << "--plr-template=${params.PLR_TEMPLATE_COMMIT}" + } cmd += [ "--image-build-strategy=${params.IMAGE_BUILD_STRATEGY}", "--image-list=${commonlib.cleanCommaList(params.IMAGE_LIST)}"