<< Back to previous view

[QB-3708] Optionally do not pass repository revisions in promoted build
Created: 22/Apr/21  Updated: 28/Feb/22

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 10.0.21
Fix Version/s: 12.0.0

Type: Improvement Priority: Minor
Reporter: Robert Saladra Assigned To: Robin Shen
Resolution: Fixed Votes: 3
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
Currently when using promotion all repository revisions are fetched from original build and used in new one when checking out repositories. We'd like to make this behavior optional (checkbox in promotion maybe?).

Scenario:
We have "rebuild" promotion to rerun build with some variables changed - one is 'tools repository' branch name. We use this promotion for confirmation if changes on tools test branch are working correctly with latest configuration. With current approach this variable is ignored and repository is checked out with same revision as in original build. We have to start build normally and copy-paste all other prompted variables, or use workaround described below.

Workaround:
In Pre-queue script we are setting all repositories revisions to null. Snippet below
groovy: repositories.getAll().each { it.setRevision(null) }
Generated at Fri Apr 19 05:12:06 UTC 2024 using JIRA 189.