Skip to content

Commit 689616a

Browse files
dustymabejlebon
authored andcommitted
jobs/build: Set Force=true for forked multi-arch builds
We've seen it happen a few times recently where the x86_64 build detects a change and does a build but the multi-arch builds don't detect a change and report "No apparent changes since previous commit". This is probably because of our COSA builds being out of sync, which we'll fix soon, but either way we probably want to set Force=true for our multi-arch builds.
1 parent 358d197 commit 689616a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

jobs/build.Jenkinsfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,11 @@ lock(resource: "build-${params.STREAM}") {
416416
stage('Fork Multi-Arch Builds') {
417417
if (uploading) {
418418
for (arch in params.ADDITIONAL_ARCHES.split()) {
419+
// We pass in FORCE=true here since if we got this far we know
420+
// we want to do a build even if the code tells us that there
421+
// are no apparent changes since the previous commit.
419422
build job: 'build-arch', wait: false, parameters: [
420-
booleanParam(name: 'FORCE', value: params.FORCE),
423+
booleanParam(name: 'FORCE', value: true),
421424
booleanParam(name: 'MINIMAL', value: params.MINIMAL),
422425
booleanParam(name: 'ALLOW_KOLA_UPGRADE_FAILURE', value: params.ALLOW_KOLA_UPGRADE_FAILURE),
423426
string(name: 'FCOS_CONFIG_COMMIT', value: fcos_config_commit),

0 commit comments

Comments
 (0)