0

I've installed the ghprbhook plugin to my jenkins system. It triggers when I send a PR but isn't setting the result text properly. The 'success' / 'failure' message is working but the rest is Build finished. No test results found.

The disconnect seems to be between the gradle build plugin and the ghprbhook service. In the ghprbhook source it's checking for hudson.tasks.junit.TestResultAction to be set and apparently it isn't.

Question:

Is it possible to have gradle set the appropriate values? If so, how?

ethrbunny
  • 9,957
  • 8
  • 62
  • 117

1 Answers1

0

Turns out that I was looking in the wrong place. The way to get useful values to show up in github is to add the Publish JUnit Test Result Report post-build step to your jenkins job. Assuming that you have gradle and junit outputting xml you should see the output in github when you build.

Community
  • 1
  • 1
ethrbunny
  • 9,957
  • 8
  • 62
  • 117