PRs not building

28 views
Skip to first unread message

Tom Duerr

unread,
Sep 19, 2018, 1:19:03 AM9/19/18
to Jenkins Users
Hi,
Im using:

jenkins: 2.139
Github-Branch-Source 2.3.4
BlueOcean
GitHub Enterprise

This is our first attempt at pipelines and I'm a bit confused.

I did a "Scan Organization Now" and it detected the repo with the JenkinsFile.
I can create a PR and do a "Scan Repository Now" and it will detect the PR and
build. However, If I don't do a "Scan Repository Now" then nothing ever happens.
I never see anything in "Respository Events" and the PR never gets built. 
Its unclear if I need to install the github pull request builder.

Thanks,
Tom

Jan Monterrubio

unread,
Sep 19, 2018, 8:26:01 AM9/19/18
to jenkins...@googlegroups.com
Do you have the web hooks and services configured on the repository to receive push notifications from Jenkins / vice versa. 

--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/eb424294-ec96-475d-8b29-b3c06a956f13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tom Duerr

unread,
Sep 20, 2018, 7:51:35 PM9/20/18
to Jenkins Users
I think I there were two things wrong.

1) Out of frustration, I went ahead and  installed the github pull request builder plugin. I was then seeing messages in the jenkins log that
it was checking the PR but nothing got built.

2)After uninstalling the github pull request builder plugin, I figured out that the endpoint for the branch-source-plugin PR builder hook was incorrect. The
correct endpoint was http..../github-webhook.

Bottom line, you don't need the github pull request builder plugin if you are using github branch source plugin, it just needs to be properly configured.

Thanks Jan for the response.

Tom
Reply all
Reply to author
Forward
0 new messages