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