Jenkins 2.60.1 With Java 7 Slave Node

363 vistas
Ir al primer mensaje no leído

Conrad T. Pino

no leída,
24 jun 2017, 1:37:32 a.m.24/6/2017
para jenkins...@googlegroups.com
  • A secure Java 8 JRE is unavailable on CentOS 5.
    • Oracle JRE free support ended long ago.
    • OpenJDK 8 binary packages unavailable.
    • Fedora EPEL latest is OpenJDK 1.7.0_131
  • Can Jenkins 2.60.1 work with Java 7 JRE slaves?

Arnaud Héritier

no leída,
24 jun 2017, 4:46:31 a.m.24/6/2017
para jenkins...@googlegroups.com
In short no
Jenkins master and slaves have to be launched with Java 8.
Java 7 and older can still be used for builds

--
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-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/291EDBE6054F46C6BA60EBE29665EBBB%40skyline.pino.net.
For more options, visit https://groups.google.com/d/optout.



--
-----
Arnaud Héritier
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier

Baptiste Mathus

no leída,
24 jun 2017, 8:21:26 a.m.24/6/2017
para jenkins...@googlegroups.com
For the record, the other announce about this: https://jenkins.io/blog/2017/04/10/jenkins-has-upgraded-to-java-8/ where we also pointed out what Arnaud perfectly summed up already.

NIT: since 2.x we officially have switched from using "slaves" to using "agents" term.

Mark Waite

no leída,
24 jun 2017, 8:55:48 a.m.24/6/2017
para jenkins...@googlegroups.com
As far as I read from Oracle JDK 8 and JRE 8 Certified System ConfigurationsContents, RHEL 5.5 and later are supported by Oracle JDK 1.8.0, though there is no JavaFX support on that platform.  Since Oracle is also a Linux vendor, it is in their best interest to support Oracle JDK 1.8.0 on the Linux operating systems which they support (including Oracle Linux 5, a derivative of Red Hat Enterprise Linux 5).

The Oracle JDK installation instructions make no particular exceptions for RHEL 5 (or for Oracle Linux 5).  It should "just work".

Oracle offers "extended support" for Oracle Linux 5 until 26 Jun 2020.  They either have ended regular support for Oracle Linux 5 or will do so very soon.

I suspect the same is true of Red Hat Enterprise Linux.  The Red Hat Linux wikipedia article shows that RHEL 5 is in extended support as of June 2017.

What was it that made you think that "a secure Java 8 JRE is unavailable on CentOS 5"?

Mark Waite

On Sat, Jun 24, 2017 at 6:21 AM Baptiste Mathus <m...@batmat.net> wrote:
For the record, the other announce about this: https://jenkins.io/blog/2017/04/10/jenkins-has-upgraded-to-java-8/ where we also pointed out what Arnaud perfectly summed up already.

NIT: since 2.x we officially have switched from using "slaves" to using "agents" term.
2017-06-24 10:45 GMT+02:00 Arnaud Héritier <aher...@gmail.com>:
In short no
Jenkins master and slaves have to be launched with Java 8.
Java 7 and older can still be used for builds
On Sat, Jun 24, 2017 at 7:27 AM, Conrad T. Pino <CP...@vflyer.com> wrote:
  • A secure Java 8 JRE is unavailable on CentOS 5.
    • Oracle JRE free support ended long ago.
    • OpenJDK 8 binary packages unavailable.
    • Fedora EPEL latest is OpenJDK 1.7.0_131
  • Can Jenkins 2.60.1 work with Java 7 JRE slaves?

--
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.
--
-----
Arnaud Héritier
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier

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

--
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/CANWgJS5mCWvouk4FvUUg0gDLpin1EqhhJOF6btkuxoy37gpddw%40mail.gmail.com.

Jacob Larsen

no leída,
24 jun 2017, 9:39:13 a.m.24/6/2017
para jenkins...@googlegroups.com

Sounds like you need something that isolates the "Jenkins Slave" functionality from your build environment. I see these solutions:

A new machine with the Jenkins Slave that does SSH to your CentOS 5 build environment in the build step.

Put your CentOS 5 build environment in a Docker container and use one of these plugins:

* Docker Slaves: This plugin is marked as experimental and has not seen any updates this year. It works with some kinks. E.g. There is no limit on how many nodes it can start at once when using pipeline. This dynamically provisions a full slave for each build.

* Cloudbees Docker Custom Build Environment plugin. This plugin has not seen any updates for a couple of years, but a new maintainer is getting started now. This plugin attaches on an existing slave and uses the Jenkins Slave mechanisms for scheduling. It lacks pipeline support and does not work if the slave itself is running as a Docker container.

/Jacob

Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos