Key: |
QB-2577
|
Type: |
Improvement
|
Status: |
Resolved
|
Resolution: |
Fixed
|
Priority: |
Major
|
Assignee: |
Robin Shen
|
Reporter: |
Robin Shen
|
Votes: |
0
|
Watchers: |
0
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
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
|
|
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.
|
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.
|
Show » |
|
repositories.get("repo name").shelveSupport.shelvedChangesets