Discussion:
[cbi-dev] Building GitHub Pull Request on Eclipse's Jenkins
Jonah Graham
2018-08-06 17:41:16 UTC
Permalink
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
Frederic Gurr
2018-08-06 18:44:56 UTC
Permalink
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
Post by Jonah Graham
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
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
Jonah Graham
2018-08-06 18:55:34 UTC
Permalink
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 <
Post by Frederic Gurr
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
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
Post by Jonah Graham
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
Post by Jonah Graham
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
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
Post by Jonah Graham
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
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/cbi-dev
Didier Vojtisek
2018-08-07 09:03:24 UTC
Permalink
Hi
alternatively to this plugin you can also use Jenkins multibranch
pipelines. (We use it a lot for our projects (ex:gemoc multibranch job
<https://ci.eclipse.org/gemoc/job/gemoc-studio/> on ci.eclipse.org and
corresponding jenkinsfile
<https://github.com/eclipse/gemoc-studio/blob/master/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
Post by Jonah Graham
Fred, Thank you for the detailed response.
Jonah
~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com <http://www.kichwacoders.com>
On Mon, 6 Aug 2018 at 19:45, Frederic Gurr
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
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
Post by Jonah Graham
Hi folks,
What is the state of the art for building GitHub PRs on Eclipse
Jenkins
Post by Jonah Graham
instances?
I can see that GitHub pull request builder plugin
<https://wiki.jenkins.io/display/JENKINS/GitHub+pull+request+builder+plugin> has
Post by Jonah Graham
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.
Post by Jonah Graham
The GitHub Branch Source Plugin
<https://wiki.jenkins.io/display/JENKINS/GitHub+Branch+Source+Plugin> seems
Post by Jonah Graham
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
Post by Jonah Graham
installed, and that Bug 439145
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=439145> is
currently open
Post by Jonah Graham
request the feature - but that may simply predate the move to
Jenkins.
Post by Jonah Graham
Thanks
Jonah
~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com <http://www.kichwacoders.com>
<http://www.kichwacoders.com>
Post by Jonah Graham
_______________________________________________
cbi-dev mailing list
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
Post by Jonah Graham
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
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
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
Loading...