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

"view selected file" in jobs provides a broken link

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: managed-scripts-plugin
    • Labels:
      None
    • Environment:
      Managed Scripts 1.4 on Jenkins 2.89.3
    • Similar Issues:

      Description

      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.)

        Attachments

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated: