Key: |
QB-684
|
Type: |
Improvement
|
Status: |
Resolved
|
Resolution: |
Fixed
|
Priority: |
Minor
|
Assignee: |
Robin Shen
|
Reporter: |
Roger Perkins
|
Votes: |
0
|
Watchers: |
0
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 13/Oct/10 04:43 PM
Updated: 27/Dec/12 02:39 PM
|
|
Component/s: |
None
|
Affects Version/s: |
3.0.12
|
Fix Version/s: |
None
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
I was going to convert some script to use the built-in human readable condition options but realised there's no way to say "variable != true" right now (as an example). I'm not sure if it would be best to add "!=" versions of the different conditions, the other alternative would be to have some sort of check-box to invert the logic (but that could get quite confusing). Ideally I'd like to get rid of as much custom script as possible to make it easy to understand for people looking at it.
An example of what I wanted to convert:
(current.parent==null || !current.parent.anyChildFailed) && (vars.get("JAM_DOING_CI")==null || vars.get("JAM_DOING_CI").asBoolean() != true)
|
Description
|
I was going to convert some script to use the built-in human readable condition options but realised there's no way to say "variable != true" right now (as an example). I'm not sure if it would be best to add "!=" versions of the different conditions, the other alternative would be to have some sort of check-box to invert the logic (but that could get quite confusing). Ideally I'd like to get rid of as much custom script as possible to make it easy to understand for people looking at it.
An example of what I wanted to convert:
(current.parent==null || !current.parent.anyChildFailed) && (vars.get("JAM_DOING_CI")==null || vars.get("JAM_DOING_CI").asBoolean() != true) |
Show » |
There are no comments yet on this issue.
|
|