Symptom
A step looking for the variable "finished" is always skipped.
Cause
The finished
variable is a short-hand for either success or failure. It can only be used in step comparisons.
Solution
To get the same results on a condition, please follow these steps.
- Confirm the name of the step you are using for comparison
- Use the following condition to check for a finished state:
myCondition: stepname == 'success' || stepname == 'failure'