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

MavenMultiModuleTest#symlinksUpdated are failing against jenkins >=2.X

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The test is expecting a fixed set of permalinks attached to the project, but in jenkins >= 2 there are more permalinks, resulting in the test failing.

      This can be easily fixed in a cross version way by expecting a minimum set of permalinks instead of a fixed one.

      To reproduce:

      mvn clean test -Dtest=MavenMultiModuleTest#symlinksUpdated -Djenkins.version=2.0

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Raul
            Path:
            src/test/java/hudson/maven/MavenMultiModuleTest.java
            http://jenkins-ci.org/commit/maven-plugin/a95a0e9927cc3c4824a6bec76d1c2ba00202772c
            Log:
            JENKINS-40949 Use a minimum set of permalinks instead of a fixed set

            This way the test works with the same guarantees for 1.x series and works
            for 2.x series

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Raul Path: src/test/java/hudson/maven/MavenMultiModuleTest.java http://jenkins-ci.org/commit/maven-plugin/a95a0e9927cc3c4824a6bec76d1c2ba00202772c Log: JENKINS-40949 Use a minimum set of permalinks instead of a fixed set This way the test works with the same guarantees for 1.x series and works for 2.x series

              People

              • Assignee:
                rarabaolaza Raul Arabaolaza
                Reporter:
                rarabaolaza Raul Arabaolaza
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: