Skip to content
Merged
2 changes: 2 additions & 0 deletions azure/templates/deploy-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ steps:

if [[ $ping_endpoint_response != "200" ]]; then
echo "##vso[task.logissue type=error]Your proxy doesn't have a _ping endpoint therefore we can't monitor this proxy and it should not be released, use the flag 'enable_monitoring=false' if your API doesn't support _ping healthcheck."
echo "##vso[task.setvariable variable=enable_ping_monitoring]false"
exit 1
fi
displayName: 'Check _ping'
Expand All @@ -319,6 +320,7 @@ steps:

if [[ $status_endpoint_response != "200" ]]; then
echo "##vso[task.logissue type=error]Your proxy doesn't have a _status endpoint therefore we can't monitor this proxy and it should not be released, use the flag 'enable_status_monitoring=false' if your API doesn't support _status healthcheck."
echo "##vso[task.setvariable variable=enable_status_monitoring]false"
exit 1
fi

Expand Down