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

Key: QB-234
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

Variables placed in boolean expressions can not be recursively evaluated

Created: 05/Apr/07 05:37 PM   Updated: 06/Jun/09 10:47 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

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


 Description  « Hide
From forum post:

I have created the following build step:

default
: Step type: Fail current step conditionally
: Step necessary condition: var["TESTING"].value!="DONT"
: Description: ------
: Failure condition: 0==0
: Failure message: TRIED TO RUN: [${var["TESTING"]}]

If I run this with the TESTING variable defined thusly:
: TESTING=DO
I get:
: ERROR - Step "default" is failed: TRIED TO RUN: [DO]

And, if I run it with the following:
: TESTING=DONT
I get:
: INFO - Necessary condition not satisfied, skipping step "default".

However, if I define TESTING via another variable:
: TEST_A=DONT
: TESTING=${var["TEST_A"]}
I get:
: ERROR - Step "default" is failed: TRIED TO RUN: [DONT]

In this last case, I am expecting the step not to run. Please confirm.

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.