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

Bad URL for file parameter in Show Build Parameter Plugin

XMLWordPrintable

      Hello,

      When using a File Parameter, the Parameters sub-page will show a URL linking to the uploaded file. This URL is fine on the Parameters page, but it is wrong when shown on the results page by the Show Build Parameters Plugin.

      To reproduce this bug:
      Install the Show Build Parameter plugin and restart Jenkins
      Create a new job
      Click "This build is parameterized"
      Add a File Parameter, select a file location, I typed: "uploadedFile"
      Save the job
      Run the build

      The results page will show the parameters, but the links are wrong. I get this link:
      http://localhost:8080/job/uploadAFile/3/parameter/uploadedFile/t.txt

      But the correct link is:
      http://localhost:8080/job/uploadAFile/3/parameters/parameter/uploadedFile/t.txt

      Thanks for your attention.

            petehayes Peter Hayes
            deepchip Martin d'Anjou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: