-
Task
-
Resolution: Fixed
-
Minor
-
-
Jenkinsfile Runner 1.0-beta-6
I discovered that Jenkinsfile Runner does not work reliably with Java 11 when there is a plugin using "java.sql" internally (JENKINS-54426). It impacts Pipeline Utility Steps (JENKINS-54355), and it will likely also impact Pipeline: Maven Plugin and other plugins: https://github.com/search?p=2&q=org%3Ajenkinsci+%22java.sql%22&type=Code . For JFR the most critical thing is Pipeline plugins, of course. CC rsandell cleclerc
We need to investigate whether the failing behavior is also possible on classic Jenkins instances
- relates to
-
JENKINS-54355 ClassNotFound: java.sql.Date in JDK 11 in Pipeline Utility Steps
-
- Resolved
-
-
JENKINS-54426 Jenkinsfile Runner fails on Java 11: NoClassDefFoundError: java.sql.Date
-
- Resolved
-
> We need to investigate whether the failing behavior is also possible on classic Jenkins instances
This has been analyzed by alecharp in
JENKINS-54355and it is not reproducible in a standard environment. Pipeline-utility-steps works perfectly fine on JDK11 without using any additional --add-modules ...,java.sql switch.We've seen this issue surface at least in PCT, in JFR, so my current suspicion is that this issue is triggered by a special classloading used there (JTH?).