<< Back to previous view |
[QB-998] next build label field should be evaluated as a final step of a configuration
|
|
Status: | Closed |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 3.1.54 |
Fix Version/s: | None |
Type: | Improvement | Priority: | Major |
Reporter: | Rafal Krzysztoforski | Assigned To: | Robin Shen |
Resolution: | Won't Fix | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Description |
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. |
Comments |
Comment by 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. |