Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-56198

Source details inference fails on Java 11 (Fix test, not the bug)

      This ticket is going to fix the test that is failing by changing the assert. Doing this we will have both ATH executions, Java 8 and Java 11 with the same result. 

      The fix of the bug itself is not addressed here, it is addressed on the original ticket JENKINS-54942.

          [JENKINS-56198] Source details inference fails on Java 11 (Fix test, not the bug)

          Ramon Leon created issue -
          Ramon Leon made changes -
          Epic Link New: JENKINS-52284 [ 192059 ]
          Ramon Leon made changes -
          Assignee Original: Daniel Spilker [ daspilker ] New: Ramon Leon [ mramonleon ]
          Ramon Leon made changes -
          Link New: This issue is caused by JENKINS-54942 [ JENKINS-54942 ]
          Ramon Leon made changes -
          Description Original: {{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
          New: This ticket is going to fix the test that is failing by changing the assert. Doing this we will have both ATH executions, Java 8 and Java 11 with the same result. 

          The fix of the bug itself is not addressed here, it is addressed on the original ticket JENKINS-54942.
          Ramon Leon made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Ramon Leon made changes -
          Remote Link New: This issue links to "PR #485 (Web Link)" [ 22410 ]
          Ramon Leon made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Ramon Leon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Daniel Spilker made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            mramonleon Ramon Leon
            mramonleon Ramon Leon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: