Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Phase condition does not work like task condition #7963
Working with several agent phases in VSTS and trying to use a custom condition on the phase itself to only run when a specific text is in the commit message. For this, I'm using the following condition:
The phase is always skipped but if I use the same condition on the individual tasks, it's working fine. This seems to be a bug on the phase condition evaluation.
no errors can be found in the logs and no information why the phase has been skipped can be found either
Service issue. Not an issue with with the tasks in this repo.
Note that some variables are realized JIT agent side. Phase conditions are evaluated service side before it goes to the agent.
If that doesn't answer your question, you may want to log an issue in vsts-agent repo