Forum Discussion
Job is pending, waiting for approval, then become skipped
I have an Azure pipeline where the last stage needs approval from an authorised person. The pipeline seems to work well, and when this last stage is reached the status is "Job is pending..." as expected:
The problem is that after a certain time, the job eventually turn to "skipped" status automatically, so the person who should approve doesn't have time to do so:
Unfortunately I can't find what's causing this. How would I go about debugging this issue? Is there any log I can look at that would tell us why the job is being skipped (couldn't find any such log)? If not, any idea what can transition a job from "waiting for approval" to "skipped" without us doing anything?
- SaumilkumarShahBrass Contributor
To investigate further, enable verbose mode:
https://learn.microsoft.com/en-us/azure/devops/pipelines/troubleshooting/review-logs?view=azure-devops- Laurent7777777Copper Contributor
SaumilkumarShah Thank you, but I already tried that and unfortunately it didn't help. The log still doesn't show why the stage is being skipped. In fact for that specific stage there's just no log.
- SaumilkumarShahBrass Contributor
Could you please share a yaml code snippet and approval gate configuration?