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

"view selected file" in jobs provides a broken link

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • managed-scripts-plugin
    • None
    • Managed Scripts 1.4 on Jenkins 2.89.3

      Problem: When trying to access a managed file from a job configuration the link being provided is invalid.

      Example: Get http://my.jenkins/job/myverynicejob/configfiles/show?id=scriptiwant but need http://my.jenkins/configfiles/show?id=scriptiwant

      Reason: in DetailLinkDescription the method getDetailsLink uses context.getUrl() but should use a function providing the base URL of Jenkins and not the relative location. (I don't know the correct function, else I could have provided a pull request.)

            domi Dominik Bartholdi
            pirxdanford Pirx Danford
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: