简体   繁体   中英

Configuring GitHub Pull Request Builder Plugin

I have been trying to set up to GitHub Pull Request Builder Plugin for a while now. But when I submit a pull request to my repo, nothing happens when I comment a phrase like 'test this please'. Connections and repo permissions the bot user has seem to show up fine in Jenkins. I tried posting a comment on an issue through Jenkins just to make sure if I have done a correct setup, this throws errors.I have done the basic setup, but obviously there is something missing. Can someone please help me do the setup? Some questions that I have are:

  • What is the difference between admin and botuser as mentioned in the documentation?
  • Does a whitelist user not have to post a comment phrase to trigger the build?(does not work for me either way).

Would appreciate any help. Have been stuck for 2 days.

Check the configuration of your pull request builder using the following steps:

  1. Go to Github -> repository settings -> webhooks & services and check that there a webhook configured that calls Jenkins on /ghprbhook, content-type application/x-www-form-urlencoded.
  2. In the list of events in the Github trigger configuration, make sure that the 'pull request' and 'issue comment' events are checked.
  3. In the Jenkins job configuration, verify that "Use github hooks for build triggering" is checked and make sure that the 'Trigger phrase' is set up correctly. We use \\Qok to test\\E .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM