Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github pull not triggering Jenkins build launch #590

Closed
dockernewbie opened this issue Nov 7, 2017 · 1 comment
Closed

Github pull not triggering Jenkins build launch #590

dockernewbie opened this issue Nov 7, 2017 · 1 comment

Comments

@dockernewbie
Copy link

dockernewbie commented Nov 7, 2017

I was following along the below article to get GHPRB working but am not sure what is wrong in my set up.

http://www.inanzzz.com/index.php/post/ljgv/setup-github-and-jenkins-integration-for-pull-request-builder-and-merger

Jenkins 2.73.1
GitHubPull Request Builder 1.39.0
GitHub API Plugin 1.90

From the jenkins logs I receive what appears to be correct after pushing the new branch per the above article.

Nov 07, 2017 10:32:16 AM org.jenkinsci.plugins.ghprb.GhprbRootAction handleAction
WARNING: Request not known for event: push
Nov 07, 2017 10:32:16 AM org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber onEvent
INFO: Received PushEvent for https://github.xxx.xxx.com/yy/zzzzz from 1.1.1.1 â http://jenkins-xx.xxx.com:8080/github-webhook/

However in the part where it is supposed to start the build I only see the following.

Nov 07, 2017 10:32:20 AM org.jenkinsci.plugins.ghprb.GhprbRootAction handleAction
INFO: Checking PR #123 for yy/zzzzz

Per the tutorial doc, I expected to see this though (org.jenkinsci.plugins.ghprb.GhprbRootAction handleAction) and more which I never do.

Jan 14, 2017 8:21:35 PM org.jenkinsci.plugins.ghprb.GhprbRootAction handleAction
 
INFO: Checking PR #3 for Inanzzz/nation
 
Jan 14, 2017 8:21:35 PM org.jenkinsci.plugins.ghprb.GhprbTrigger handlePR

Is there potentially a bug or most likely a misconfiguration on my part that someone can help guide me to?

Thanks in advance.

bjoernhaeuser: edited for readability

@bjoernhaeuser
Copy link
Contributor

It is this line: WARNING: Request not known for event: push

This pluing is only for pull requests, for normales pushes to master you need the github plugin: https://wiki.jenkins.io/display/JENKINS/GitHub+Plugin

If this does not answer your question please reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants