Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 570591

Summary: JGit builds failing, need a JDK 1.8
Product: Community Reporter: Thomas Wolf <twolf>
Component: CI-JenkinsAssignee: CI Admin Inbox <ci.admin-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: matthias.sohn, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
See Also: https://git.eclipse.org/r/c/egit/egit-pipelines/+/175262
https://git.eclipse.org/c/egit/egit-pipelines.git/commit/?id=d868458b8aa75bc9a2fa96a74eeb1e77b1c0be89
Whiteboard:

Description Thomas Wolf CLA 2021-01-23 11:39:39 EST
JGit builds have started failing recently. It appears they pick up a Java 11 JDK now. But we need a JDK 1.8.

Do we have to change something in our builds? pom.xml specifies 1.8 as compiler, source & target version.

See comments at https://git.eclipse.org/r/c/jgit/jgit/+/175247 .

P.S.: I haven't tried EGit builds yet. But EGit probably also needs a JDK 1.8.
Comment 1 Matthias Sohn CLA 2021-01-23 11:43:09 EST
This might have been caused by this PR
https://github.com/eclipse-cbi/jiro-agents/pull/10
Comment 2 Thomas Wolf CLA 2021-01-23 12:28:25 EST
In that PR Mikael actually gave steps to specify a JDK 8 for the build. I've just updated the jgit.gerrit build accordingly. If https://ci.eclipse.org/jgit/job/stable/job/jgit.gerrit-pipeline/4330/console succeeds, we can close this and adapt all our other jobs likewise.
Comment 3 Thomas Wolf CLA 2021-01-23 13:55:41 EST
That worked. Also adapted jgit.stable and jgit builds.
Comment 4 Eclipse Genie CLA 2021-01-23 14:12:49 EST
New Gerrit change created: https://git.eclipse.org/r/c/egit/egit-pipelines/+/175262