If a job fails and it is the only job in the workflow, the workflow says "ENDED OK". However, if we add one or more jobs to the workflow and the same job fails, the workflow shows "Blocked" (as expected).
You may have another job(s) that is dependent on the success / failure of this workflow.
If the job within the workflow fails, but the workflows ends normally - it may incorrectly trigger a dependent job.
Please follow the following instructions:
- Open the workflow with the single job in AWI
- Right click on the END bubble - select properties
- In the "Time and Dependencies" section, under "ELSE (on status mismatch or latest time failure)" change value from "Skip" to "Abort" or "Block" depending on the requirement.
- Hit save