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

Key: QB-2577
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Robin Shen
Reporter: Robin Shen
Votes: 0
Watchers: 0
Operations

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

Able to get list of shelved changes

Created: 07/Nov/15 12:18 AM   Updated: 22/Dec/15 09:35 AM
Component/s: None
Affects Version/s: 6.0.33
Fix Version/s: 6.1.0

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


 Description  « Hide
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.


 All   Comments   Work Log   Change History      Sort Order:
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