Forum Discussion
fedeuy
Sep 06, 2021Copper Contributor
Azure DevOps conditional REST API gate trigger only once if OK
I'm trying to add a health check to my azure devops pipeline. In order to do so I'm using a gate as a pre-condition to my deploy, which invokes a REST API which passes if OK is returned.
This is what the current setup looks like:
Take into account that "The time between re-evaluation of gates" must be at least 5 minutes and "The timeout after which gates fail" must be at least 6, it won't allow me to set it to 0.
So this setup kinda works, but it checks the REST API twice for some reason:
I would expect it to just carry on after the first check returns OK.
No RepliesBe the first to reply