-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
VSTS supports "Pull Request Iteration Statuses", i. e. the status of a pull-request iteration.
In my understanding, the benefit of using this is, that a status policy can be proactively enforced by VSTS.
Scenario:
1. push a new commit on a VSTS pull-request
2. Web-hook does not trigger Jenkins for some reason
3. pull-request stays valid even though not being built/tested
Link to VSTS API Documentation: https://docs.microsoft.com/en-us/rest/api/vsts/git/pull%20request%20iteration%20statuses?view=vsts-rest-4.1
In practice solving this issue will be somwhat problematic, since the "Pull request merge attempted" Service Hook does not contain the Iteration Id in its payload...