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

Key: QB-998
Type: Improvement Improvement
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: Rafal Krzysztoforski
Votes: 0
Watchers: 0
Operations

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

next build label field should be evaluated as a final step of a configuration

Created: 02/Aug/11 12:52 PM   Updated: 02/Aug/11 11:43 PM
Component/s: None
Affects Version/s: 3.1.54
Fix Version/s: None

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


 Description  « Hide
Let's assume we have variable: VERSION=4 (which is in fact next build number in this example)
In next build label field we are using option "Use specified version" which is "${vars.get("VERSION").increase()}"
Now we have a step which is using value from VERSION variable. Because VERSION variable is modified in creation of the next build label, the step receives VERSION as 5 which is wrong. It should be 4 till end of build.
As workaround I can move increase to PostBuild script section but this is double work since the NBL field can be evaluated at the end of build call.


 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [02/Aug/11 11:43 PM]
You may make the build version using increased value like below:
${vars.get("VERSION").increase(); vars.get("VERSION");}
Then you will have the same value for current version and the "VERSION" variable.