<< Back to previous view

[QB-234] Variables placed in boolean expressions can not be recursively evaluated
Created: 05/Apr/07  Updated: 06/Jun/09

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Robin Shen Assigned To: Robin Shen
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
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.
Generated at Sat Oct 11 22:23:58 UTC 2025 using JIRA 189.