"view selected file" in jobs provides a broken link

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: managed-scripts-plugin
    • None
    • Environment:
      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.)

            Assignee:
            Dominik Bartholdi
            Reporter:
            Pirx Danford
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: