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

Use relative links for easier navigation does not take into account folder configuration

      When the pipeline (the view) and the jobs are placed inside a folder, the configuration "Use relative links for easier navigation" does not give a valid url for the job when it is clicked on the pipeline view, instead giving a 404 page not found.

      Example

      I have a FOLDER with a PIPELINE inside and, also inside, a JOB. When I click on JOB, this is the href value:
      http://URL/jenkins/job/FOLDER/view/PIPELINE/job/FOLDER/job/JOB/99/ gives 404.

      Instead, it should be:
      http://URL/jenkins/job/FOLDER/view/PIPELINE/job/JOB/99/

          [JENKINS-40568] Use relative links for easier navigation does not take into account folder configuration

          Tommy Tynjä added a comment -

          pedrocunha do you think you could possibly contribute a fix for this?

          Tommy Tynjä added a comment - pedrocunha do you think you could possibly contribute a fix for this?

          Tommy Tynjä added a comment -

          Workaround until the issue is resolved is to place the delivery pipeline view in the root and not within a folder.

          Tommy Tynjä added a comment - Workaround until the issue is resolved is to place the delivery pipeline view in the root and not within a folder.

          Having a Delployment Pipeline view inside a folder also seems to break the ability for jobs to copy upstream artifacts. 

          Scott Geertgens added a comment - Having a Delployment Pipeline view inside a folder also seems to break the ability for jobs to copy upstream artifacts. 

          I'm facing the same problem - URLs generated by delivery pipeline inside a folder are broken. I don't have problem with copying artifacts like Scott though.

          Let me know if you need any additional info/help to fix this one.

          Kamil Kopaczyk added a comment - I'm facing the same problem - URLs generated by delivery pipeline inside a folder are broken. I don't have problem with copying artifacts like Scott though. Let me know if you need any additional info/help to fix this one.

          Tommy Tynjä added a comment -

          iteraptor if you could try to provide a fix for this it would be greatly appreciated. You can find the source code and contribution introduction here: https://github.com/Diabol/delivery-pipeline-plugin/#how-to-contribute

          Setting up a local environment is quite straight forward and documented in the project README. Any pull requests will automatically trigger a CI build as well to give you feedback. If you need any additional guidelines, feel free to reach out.

          Tommy Tynjä added a comment - iteraptor if you could try to provide a fix for this it would be greatly appreciated. You can find the source code and contribution introduction here: https://github.com/Diabol/delivery-pipeline-plugin/#how-to-contribute Setting up a local environment is quite straight forward and documented in the project README. Any pull requests will automatically trigger a CI build as well to give you feedback. If you need any additional guidelines, feel free to reach out.

            tommysdk Tommy Tynjä
            pedrocunha Pedro Cunha
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: