github plugin: commit status configuration/authentication?

166 views
Skip to first unread message

Andy Freeland

unread,
Mar 7, 2013, 4:05:14 PM3/7/13
to jenkins...@googlegroups.com
I've been trying to use the commit status functionality from the latest version of the GitHub plugin (https://github.com/jenkinsci/github-plugin/pull/23). I built and installed the plugin, but I haven't found anywhere to configure authentication to actually post the commit statuses.

In my repository, I've tried setting the git url to https://OAUTH...@github.com/rouge8/jenkins-test.git, but I've also tried git://github.com/rouge8/jenkins-test.git with no luck.

I have the post-build action "Set build status on GitHub commit" activated, but I haven't found anywhere to configure the authentication.

Has anyone successfully configured the plugin?

Andy Freeland

unread,
Mar 7, 2013, 4:11:39 PM3/7/13
to jenkins...@googlegroups.com
I'm also not seeing any logs from the post-build actions, so I have no idea what it's doing.


On Thursday, March 7, 2013 4:05:14 PM UTC-5, Andy Freeland wrote:
I've been trying to use the commit status functionality from the latest version of the GitHub plugin (https://github.com/jenkinsci/github-plugin/pull/23). I built and installed the plugin, but I haven't found anywhere to configure authentication to actually post the commit statuses.

In my repository, I've tried setting the git url to https://OAUTH_TOKEN@github.com/rouge8/jenkins-test.git, but I've also tried git://github.com/rouge8/jenkins-test.git with no luck.

Aaron Cain

unread,
Sep 5, 2013, 10:50:59 AM9/5/13
to jenkins...@googlegroups.com
Did you ever find an answer to get "Set build status on GitHub commit" configured?

Andy Freeland

unread,
Sep 5, 2013, 10:58:10 AM9/5/13
to jenkins...@googlegroups.com
I now run Leeroy (https://github.com/litl/leeroy) on my Jenkins server. It listens for GitHub pull request notifications, triggers a Jenkins build, and sets the commit status based on the result of the build.

This has been working great for me for github.com and GitHub for Enterprise repos.


--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/tDzto-wILeM/unsubscribe.

To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

William Soula

unread,
Sep 5, 2013, 11:20:30 AM9/5/13
to jenkins...@googlegroups.com
Did you look at the github pull request builder?  If so, what benefits does leeroy have over it?

https://wiki.jenkins-ci.org/display/JENKINS/Github+pull+request+builder+plugin

Will

On 09/05/13 09:58, Andy Freeland wrote:
I now run Leeroy (https://github.com/litl/leeroy) on my Jenkins server. It listens for GitHub pull request notifications, triggers a Jenkins build, and sets the commit status based on the result of the build.

This has been working great for me for github.com and GitHub for Enterprise repos.
On Thu, Sep 5, 2013 at 9:50 AM, Aaron Cain <aaron...@oncenter.com> wrote:
Did you ever find an answer to get "Set build status on GitHub commit" configured?


On Thursday, March 7, 2013 3:11:39 PM UTC-6, Andy Freeland wrote:
I'm also not seeing any logs from the post-build actions, so I have no idea what it's doing.

On Thursday, March 7, 2013 4:05:14 PM UTC-5, Andy Freeland wrote:
I've been trying to use the commit status functionality from the latest version of the GitHub plugin (https://github.com/jenkinsci/github-plugin/pull/23). I built and installed the plugin, but I haven't found anywhere to configure authentication to actually post the commit statuses.

In my repository, I've tried setting the git url to https://OAUTH...@github.com/rouge8/jenkins-test.git, but I've also tried git://github.com/rouge8/jenkins-test.git with no luck.

I have the post-build action "Set build status on GitHub commit" activated, but I haven't found anywhere to configure the authentication.

Has anyone successfully configured the plugin?
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/tDzto-wILeM/unsubscribe.

To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.

Andy Freeland

unread,
Sep 5, 2013, 11:40:24 AM9/5/13
to jenkinsci-users
Unlike all of the Git/Github related Jenkins plugins I tried, I could actually get it to work. :)

I could also point it at both GitHub for Enterprise and github.com repos on the same CI server, which is important to us, because we have projects on both.

William Soula

unread,
Sep 5, 2013, 12:15:40 PM9/5/13
to jenkins...@googlegroups.com
I don't know of any other github pull request plugins, but I am able to get the github pull request builder to work for our enterprise server, even with a funky security certificate.  The biggest distinction I see is the ability for it to work for enterprise and public at the same time.  That would be a good feature request for the github pull request builder, and one I just realized I might need soon :)

Will
Reply all
Reply to author
Forward
0 new messages