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

Maven Module links are now broken - missing Job Name

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • maven-plugin
    • None

      Links to Maven modules are now generating an incorrect url

      Navigating to the following url: http://server_url/jenkins/job/JOB_NAME/modules

      I am presented with a list of Maven Modules.

      The link for each module is now:
      http://server_url/jenkins/job/maven.group.id$maven.artifact.id/

      it should be:

      http://server_url/jenkins/job/JOB_NAME/maven.group.id$maven.artifact.id/

      Also Note,

      This page used to display Maven Modules named as the Name value in its pom.xml

      It now displays them as
      JOB_NAME » maven.group.id:maven.artifact.id

          [JENKINS-17713] Maven Module links are now broken - missing Job Name

          Geoff Cummings created issue -
          sogabe made changes -
          Link New: This issue is duplicated by JENKINS-17750 [ JENKINS-17750 ]
          sogabe made changes -
          Link New: This issue is duplicated by JENKINS-17870 [ JENKINS-17870 ]

          sogabe added a comment -

          [1] seems to break maven module links.

          @Vlatombe
          Would you like to look into this?

          [1] https://github.com/jenkinsci/jenkins/commit/d54105c296965f915d2124a3b475de2b8b6efa54

          sogabe added a comment - [1] seems to break maven module links. @Vlatombe Would you like to look into this? [1] https://github.com/jenkinsci/jenkins/commit/d54105c296965f915d2124a3b475de2b8b6efa54
          sogabe made changes -
          Assignee New: Vincent Latombe [ vlatombe ]

          root cause seems to be a problem in stapler, not returning ancestors relative paths correctly when the url doesn't end with / (like in /modules)

          Vincent Latombe added a comment - root cause seems to be a problem in stapler, not returning ancestors relative paths correctly when the url doesn't end with / (like in /modules)

          Oliver Gondža added a comment - Reproduced by selenium tests https://github.com/jenkinsci/selenium-tests/pull/22

          cforce added a comment -

          Bug confirmed - please fix

          cforce added a comment - Bug confirmed - please fix

          Vincent Latombe added a comment - Opened https://github.com/stapler/stapler/issues/19
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-18033 [ JENKINS-18033 ]

            vlatombe Vincent Latombe
            gcummings Geoff Cummings
            Votes:
            6 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: