TFS Service Hook Issue

8 views
Skip to first unread message

Michael Duan

unread,
Jun 22, 2017, 2:45:41 PM6/22/17
to Jenkins Users



Hi all,

I'm trying to configure a service hook so that when a pull request is created, the build on Jenkins will be run, and this build will get a SonarQube analysis as well.
I've followed the instructions at https://www.visualstudio.com/en-us/docs/marketplace/integrate/service-hooks/services/jenkins and this is what it looks like:



The build runs after a pull request is created and also after the pull request is approved and merged with the master branch - I can see these happening on Jenkins. 
However, the build only succeeds after the pull request is merged. When the build runs after a pull request is created it always has errors (not because of the code, all I do is rename a file :P) 
This is the error I get: 

Any help would be greatly appreciated.


Thanks in advance,


Michael

Reply all
Reply to author
Forward
0 new messages