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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            mramonleon Ramon Leon created issue -
            mramonleon Ramon Leon made changes -
            Field Original Value New Value
            Epic Link JENKINS-52284 [ 192059 ]
            mramonleon Ramon Leon made changes -
            Assignee Daniel Spilker [ daspilker ] Ramon Leon [ mramonleon ]
            mramonleon Ramon Leon made changes -
            Link This issue is caused by JENKINS-54942 [ JENKINS-54942 ]
            mramonleon Ramon Leon made changes -
            Description {{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
            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.
            mramonleon Ramon Leon made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            mramonleon Ramon Leon made changes -
            Remote Link This issue links to "PR #485 (Web Link)" [ 22410 ]
            mramonleon Ramon Leon made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            mramonleon Ramon Leon made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            daspilker Daniel Spilker made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: