In my yaml pipeline I have multiple jobs which are dependent on each other. However in one of the jobs when I define the condition, I am getting the following error:
Unexpected symbol: ‘)’. Located at position 53 within expression: and(not(or(failed(‘Unittests’), canceled(‘Unittests’))), not(canceled(‘Check_Requirements’))). For more help, refer to https://go.microsoft.com/fwlink/?linkid=842996
This is how I defined the job which is showing the error:
I want the Job to run when the Job ‘Unittests’ has not failed or cancelled and the job ‘Check_Requirement’ has not failed.
Does anyone know what am I doing wrong here. I tried multiple ways to define this condition but always got the “Unexpected symbol: ‘)'” Error