History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3708
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Robin Shen
Reporter: Robert Saladra
Votes: 3
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Optionally do not pass repository revisions in promoted build

Created: 22/Apr/21 02:46 PM   Updated: 28/Feb/22 12:46 PM
Return to search
Component/s: None
Affects Version/s: 10.0.21
Fix Version/s: 12.0.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
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) }

 All   Comments   Work Log   Change History      Sort Order:
Change by Robin Shen [28/Feb/22 12:46 PM]
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 12.0.0 [ 12091 ]
Resolution Fixed [ 1 ]