Validate pull request with jenkins in VSTS

怎甘沉沦 提交于 2019-12-11 05:40:47

问题


The only workaround we found for validating pull requests in visual studio online currently is to create a visual studio build definition that triggers our jenkins job, and create a branch policy on that build definition.

But Visual Studio online is able to trigger the jenkins job directly when a git pull request is created / updated.

Is it possible to create a branch policy on the outcome of that jenkins job? The TFS plugin already provides status feedback for the "normal push" build status.


回答1:


It is impossible now, I submit a user voice here: Branch policy based on jenkins job, you can vote and follow up it.



来源:https://stackoverflow.com/questions/43374234/validate-pull-request-with-jenkins-in-vsts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!