Not Monitored
Tag not monitored by Microsoft.
42,672 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a dependsOn array and I want to set a condition that only runs when either one of 2 of the dependencies fail
dependsOn: ['${{ parameters.deployJobA }}', '${{ parameters.deployJobB }}', '${{ parameters.deployJobC }}']
//I'm not sure if this is the correct way to set the failed condition
condition: failed('${{ parameters.deployJobB}}') or failed('${{ parameters.deployJobC}}')
This was solved using:
condition: or(failed('${{ parameters.deployJobB}}'), failed('${{ parameters.
deployJobC }}'))