Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Building GitHub Pull Request on Eclipse's Jenkins

Hi
alternatively to this plugin you can also use Jenkins multibranch pipelines. (We use it a lot for our projects (ex: gemoc multibranch job on ci.eclipse.org and corresponding jenkinsfile on github ))
However, this means that you need to convert your jenkins configuration from the Jenkins user interface to the jenkinsfile syntax and add it in the git repo.
Best regards
Didier Vojtisek


Le 06/08/2018 à 20:55, Jonah Graham a écrit :
Fred, Thank you for the detailed response.

Jonah

~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com


On Mon, 6 Aug 2018 at 19:45, Frederic Gurr <frederic.gurr@xxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi Jonah,

There is still a bit of momentum behind the GitHub pull request builder
plugin. The mentioned security issue and the necessary steps to fix it
are better explained in the security advisory here:
https://jenkins.io/security/advisory/2018-03-26/#SECURITY-261.

It can be used in freestyle jobs and has no pipeline support. I'd say
it's the right plugin if a project wants to build pull requests of a few
GitHub projects.

The GitHub Branch Source Plugin is more of a "build all you have on
GitHub" plugin, where a GitHub organization with all it's repos and
branches are monitored, etc. AFAIK it only works with pipeline jobs.

To sum it up: GHPRB plugin is probably the first step towards GitHub
based development. The GitHub Branch Source Plugin comes into play when
a project decides to switch to pipeline builds.

Regards,

Fred



On 06.08.2018 19:41, Jonah Graham wrote:
> Hi folks,
>
> What is the state of the art for building GitHub PRs on Eclipse Jenkins
> instances?
>
> I can see that GitHub pull request builder plugin
> <https://wiki.jenkins.io/display/JENKINS/GitHub+pull+request+builder+plugin> has
> a "You should probably migrate to GitHub Branch Source Plugin" and a
> "The current version of this plugin may not be safe to use" messages.
>
> The GitHub Branch Source Plugin
> <https://wiki.jenkins.io/display/JENKINS/GitHub+Branch+Source+Plugin> seems
> to be up to date, so presumably that is the one to use.
>
> Trawling through Bugzilla I can see that in the past
> <https://bugs.eclipse.org/bugs/show_bug.cgi?id=531165> the former was
> installed, and that Bug 439145
> <https://bugs.eclipse.org/bugs/show_bug.cgi?id=439145> is currently open
> request the feature - but that may simply predate the move to Jenkins.
>
> Thanks
> Jonah
>
> ~~~
> Jonah Graham
> Kichwa Coders Ltd.
> www.kichwacoders.com <http://www.kichwacoders.com>
>
>
> _______________________________________________
> cbi-dev mailing list
> cbi-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/cbi-dev
>

--
Frederic Gurr
Release Engineer | Eclipse Foundation Europe GmbH

Annastr. 44, D-64673 Zwingenberg
Handelsregister: Darmstadt HRB 92821
Managing Directors: Ralph Mueller, Mike Milinkovich, Chris Laroque
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cbi-dev


_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cbi-dev

-- 
Didier Vojtisek
SED Rennes - DiverSE Team
Univ Rennes, Inria, CNRS, IRISA
Campus de beaulieu
35042 Rennes
02 99 84 75 07

Back to the top