Plugin enforce Java7

87 views
Skip to first unread message

Janario Oliveira

unread,
Mar 24, 2017, 7:13:46 PM3/24/17
to Jenkins Developers
I've enabled an enforce to only compile the HttpRequestPlugin with Java7


Is there a way to configure it with Java 7?

Also I don't have access to it and I didn't receive the email notification, is it possible to enable it?
> Not sending mail to unregistered user janario....@gmail.com

Arnaud Héritier

unread,
Mar 24, 2017, 7:17:26 PM3/24/17
to jenkin...@googlegroups.com
Done

Cheers

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/3f92a8e6-a512-4019-8a90-e250f60e42a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



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

Janario Oliveira

unread,
Mar 24, 2017, 7:36:39 PM3/24/17
to jenkin...@googlegroups.com
Thanks :)


On Fri, Mar 24, 2017 at 8:17 PM Arnaud Héritier <aher...@gmail.com> wrote:
Done

Cheers

On Sat, Mar 25, 2017 at 12:13 AM, Janario Oliveira <janario....@gmail.com> wrote:
I've enabled an enforce to only compile the HttpRequestPlugin with Java7


Is there a way to configure it with Java 7?

Also I don't have access to it and I didn't receive the email notification, is it possible to enable it?
> Not sending mail to unregistered user janario....@gmail.com

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.



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

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/239yO2YTl6c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAFNCU-9MMJBcpSd_r1DpEeq3g0EW8%3DPZgPe0XZu8VsiaUowr%3DQ%40mail.gmail.com.

Oleg Nenashev

unread,
Mar 27, 2017, 3:41:55 AM3/27/17
to Jenkins Developers
Maybe you also want to upgrade Jenkins core to 1.625+.
In such case you will be able to just remove the enforcer property and to use the `java.level=7` property in the POM specification

суббота, 25 марта 2017 г., 0:36:39 UTC+1 пользователь Janario Oliveira написал:

Janario Oliveira

unread,
Mar 27, 2017, 9:14:25 AM3/27/17
to Jenkins Developers
This property also exists in the version I'm using '1.609.3'
I tried with '1.625' but the same happens it doesn't valid the jdk version and it would allow compile with jdk 8.


Oleg Nenashev

unread,
Mar 27, 2017, 9:20:40 AM3/27/17
to JenkinsCI Developers
Yes, the default restrictions define the minimal version. If you need the plugin to compile on Java 7 only, you would have to define the enforcer rules explicitly. BTW, it definitely makes sense to fix the Java 8 build flow then. Jenkins is going to deprecate Java 7 soon, and it may become an issue if your plugin is being tested within the Plugin Compatibility Tester test suite.

To unsubscribe from this group and all its topics, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/239yO2YTl6c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAF3bmntzs6okH_6Y%3D9XHh_%3DVLn9gp6PpoeaGackvEqPxSckbkg%40mail.gmail.com.

Janario Oliveira

unread,
Mar 27, 2017, 10:35:40 AM3/27/17
to JenkinsCI Developers
It makes sense change to Java8 but I plan to resolve some issues before and release one last release with Java7.

Thanks.


To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/239yO2YTl6c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/239yO2YTl6c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages