Cannot compile plugin sonargraph-integration-plugin on cloudbees because of missing JDK 8

65 views
Skip to first unread message

Andreas Hoyer

unread,
May 30, 2016, 9:44:34 AM5/30/16
to Jenkins Developers
Job at https://jenkins.ci.cloudbees.com/job/plugins/job/sonargraph-integration-plugin fails because it depends on JDK 8, but job configuration seems to be set to use JDK 7.

pom.xml contains

<plugin>

    <artifactId>maven-compiler-plugin</artifactId>

    <configuration>

        <source>1.8</source>

        <target>1.8</target>

    </configuration>

</plugin>


and job fails with


javac: invalid target release: 1.8


How can I configure JDK 8 for this job?

Thanks for any help

Andreas 

Arnaud Héritier

unread,
May 30, 2016, 10:15:29 AM5/30/16
to jenkin...@googlegroups.com
You just need to ask us.
But you are aware that Jenkins always supports Java 7 for now ?
Thus only users running on J8 will be able to use it and if J7 users try it (because there is no solution to hide it for them) it will just fail to load with the classical binary compatibility error
If you are ok with this no problem for me to reconfigure it (as the community doesn't enforce this ...)



--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/bf49f700-5116-465d-9cc1-b8009d9fcec5%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

Andreas Hoyer

unread,
May 30, 2016, 10:21:32 AM5/30/16
to Jenkins Developers
I am ok with this, please reconfigure it.

Arnaud Héritier

unread,
May 30, 2016, 11:12:35 AM5/30/16
to jenkin...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages