-
Bug
-
Resolution: Fixed
-
Minor
-
-
job-dsl 1.73
DslScriptHelper#getSourceDetails[1] is not able to the get the source on java 11: Warning: (NativeMethodAccessorImpl.java) plugin 'chucknorris' needs to be installed
Can be reproduced by ATH: https://github.com/jenkinsci/acceptance-test-harness/blob/527220a8bd70c9194fc938ad7b1957d1e8e7d911/src/test/java/plugins/JobDslPluginTest.java#L472
[1] https://github.com/jenkinsci/job-dsl-plugin/blob/master/job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/DslScriptHelper.groovy
[2] https://github.com/jenkinsci/acceptance-test-harness/blob/527220a8bd70c9194fc938ad7b1957d1e8e7d911/src/test/java/plugins/JobDslPluginTest.java#L472
- causes
-
JENKINS-56198 Source details inference fails on Java 11 (Fix test, not the bug)
-
- Closed
-
We've fix the test so that it doesn't fail on Java 11. But we keep a test failing to help fixing the bug on this ticket.
The test is: JobDslPluginTest.should_fail_on_missing_plugin_but_doesnt_on_java_11
Feel free to enable it when fixing this bug.