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

Need a way to get the "real" job URL without views etc. in the path

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      Currently, if I browse to a job via a view, that view name appears as part of the URL. Take the following example:

      I am a member of TeamY and am currently developing projectX. I have my own personal view for the projects I am currently working. Depending on how I get to the projectX job (via the main "All" view, the TeamY view, or my personal view), I get 3 different URLs:
      jenkins.internal.com/job/projectX
      jenkins.internal.com/view/TeamY/job/projectX
      jenkins.internal.com/me/my-views/view/MyCustomView/job/projectX

      The 3rd URL is especially problematic. If I happen to browse to projectX through my personal view, then I copy/paste that URL into an email for a teammate, the link is actually broken for that person since they do not have permission to "browse through" my view to reach projectX. Or maybe somebody not on TeamY gets the TeamY URL and can't "browse through" it.

      It seems like no matter which view I am in, when I click the link to go to projectX the URL should switch back to /job/projectX and not keep the /view or /me/my-views paths.

          [JENKINS-10595] Need a way to get the "real" job URL without views etc. in the path

          C Girard created issue -
          OHTAKE Tomohiro made changes -
          Link New: This issue is related to JENKINS-11405 [ JENKINS-11405 ]
          Daniel Beck made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: www [ 15484 ]
          Issue Type Original: Bug [ 1 ] New: New Feature [ 2 ]
          Daniel Beck made changes -
          Assignee New: Daniel Beck [ danielbeck ]
          Daniel Beck made changes -
          Summary Original: Job URLs should not contain view name New: Need a way to get the "real" job URL without views etc. in the path
          Daniel Beck made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Link New: This issue is duplicated by JENKINS-26433 [ JENKINS-26433 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 140789 ] New: JNJira + In-Review [ 189261 ]

            danielbeck Daniel Beck
            cgirard C Girard
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: