<< Back to previous view

[QB-2577] Able to get list of shelved changes
Created: 07/Nov/15  Updated: 22/Dec/15

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 6.0.33
Fix Version/s: 6.1.0

Type: Improvement Priority: Major
Reporter: Robin Shen Assigned To: Robin Shen
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
Is it possible to access the list of chnages that make up a shelved changelist used in a proof build. Basically I want to be able to loop through the shelved changelist files to determine the path of each file in the changelist to then trigger the approriate build based on the file path.

 
I thought this would be possible by using something like

def sourceRepo = repositories.get("srcRepo");
 
def changes = sourceRepo.getProofBuildSupport().getModifyPaths();
 
 for ( change in changes ) {
   logger.info("Change is " +change);
}

 

but this give a null for sourceRepo.getProofBuildSupport() when using a shelved changelist for the proofbuild.


 Comments   
Comment by Robin Shen [ 22/Dec/15 09:35 AM ]
Below script will return the list of changesets after running checkout step:
repositories.get("repo name").shelveSupport.shelvedChangesets
Generated at Fri May 17 00:29:21 UTC 2024 using JIRA 189.