Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[konflux] allow field to override konflux template url #4313

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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