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:

<https://lh3.googleusercontent.com/-uTr_y3b-SBM/WUwPO3vFWDI/AAAAAAAACmA/-DvULnedRWEHlUEQnmAW9OkpN7qWBF2RgCLcBGAs/s1600/jenkins%2Bservice%2Bhook.png>

<https://lh3.googleusercontent.com/-uTr_y3b-SBM/WUwPO3vFWDI/AAAAAAAACmA/-DvULnedRWEHlUEQnmAW9OkpN7qWBF2RgCLcBGAs/s1600/jenkins%2Bservice%2Bhook.png>
<https://lh3.googleusercontent.com/-gwWy5Ca4hLs/WUwNbVOLa1I/AAAAAAAAClw/mwwo7sPgYIEXF6yp-BMxtxfezvin8XN_QCLcBGAs/s1600/tfs%2Bservice%2Bhook.png>
 
<https://lh3.googleusercontent.com/-v_GDUbPiU8U/WUwN26OQuSI/AAAAAAAACl0/QC3WcRuldN0IaQjS_3RzaT3G-nae5_EtgCLcBGAs/s1600/tfs%2Bservice%2Bhook%2B2.png>



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: 

<https://lh3.googleusercontent.com/-EmpuEY_aGnk/WUwP-AOy7sI/AAAAAAAACmI/BeIF7s3stoIJNlnmTadRAO8EskWCVUEVwCLcBGAs/s1600/jenkins%2Bservice%2Bhook%2Berror.png>

Any help would be greatly appreciated.


Thanks in advance,


Michael

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9bd864e1-8a7f-4385-8af3-3c4b7343e98c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to