-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins: 2.73.2
tfs-plugin: 5.121.0
tfs: vsts
I am unable to determine if it's wrong request parsing on jenkins-plugin side or wrong request from vsts/tfs side: I will file this bug for both: link to vsts issue
an interesting detail is that when I test the trigger it works correctly and build on Jenkins succeeds: see codePushedTest.png screenshot.
Hi Morgwai, are you still getting this error when using the service hook? From looking at the event it appears that the resource section is missing information on the commit. There should be a commits entry contained in the resources section:
As a workaround, you can try using the Queue Jenkins Job task in a VSTS build definition to trigger your Jenkins job whenever you push code.