Skip to content

Commit

Permalink
Merge pull request #4313 from ashwindasr/konflux-plr-template-option
Browse files Browse the repository at this point in the history
[konflux] allow field to override konflux template url
  • Loading branch information
openshift-merge-bot[bot] authored Dec 13, 2024
2 parents edc602d + d0819dd commit 294affa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions jobs/build/ocp4-konflux/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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)}"
Expand Down

0 comments on commit 294affa

Please sign in to comment.