Update JDK version to 1.8 for xldeploy-plugin

17 views
Skip to first unread message

Himanshu Taneja

unread,
Dec 13, 2016, 6:53:25 AM12/13/16
to jenkin...@googlegroups.com
Hi Folks,

We have a jenkins plugin built on cloudbees. And we have recently moved to JDK 1.8. Our build is configured to run on JDK 1.7 currently. Due to which the new 1.8 codebase doesn’t build. Could you please reconfigure our gradle build job to run on 1.8?

Please let me know, if there is anything else you require from our side.


Regards,
Himanshu

Jesse Glick

unread,
Dec 13, 2016, 9:56:12 AM12/13/16
to Jenkins Dev
On Tue, Dec 13, 2016 at 6:53 AM, Himanshu Taneja <hta...@xebialabs.com> wrote:
> Our build is configured to run on JDK 1.7 currently. Due to which
> the new 1.8 codebase doesn’t build. Could you please reconfigure our gradle
> build job to run on 1.8?
>
> Build job: https://jenkins.ci.cloudbees.com/job/plugins/job/xldeploy-plugin/

Done.

Please note that users of Jenkins on Java 7 will not be alerted
automatically that your plugin requires Java 8, and will see serious
errors upon upgrade. Pending a mechanism for declaring minimum Java
requires in plugin (and thus update center metadata), I would urge you
to consider restoring Java 7 compatibility if possible.

Regardless of the minimum Java version, building all plugins on JDK 8
is recommended. For Maven-based projects, the default parent POM
automatically enforces Java level compatibility. I am not sure about
Gradle-based projects.
Reply all
Reply to author
Forward
0 new messages