Issue Type: Bug Bug
Assignee: Unassigned
Attachments: testfile.txt
Components: build-with-parameters, parameters
Created: 10/Jan/14 10:00 PM
Description:

When a 'File Parameter' is given a 'File Location' with forward slashes to use a subdirectory of the workspace (ex: subfolder/input.txt), the file cannot be downloaded from the build's Parameters page. A blank page appears when the links are clicked. If there are no slashes in the 'File Location' the file will download fine.

To Reproduce:
-------------
Create New Build
Check 'This Build is Parameterized'
Add 'File Parameter' with 'file location' = "subfolder/input.txt"
Save
Run Build using a text file named 'testfile.txt' as parameter.
On that Build's info page
Click Parameters
Try and download using the link

Result:
-------
URL like:
http://JenkinsBox/job/fileParameterBuild/1/parameters/parameter/subdir%2Finput.txt/testfile.txt
Leading to blank white Page

Expected Result:
----------------
Specified File Downloads

Additional Notes:
-----------------
The file DOES exist on the server:
C:\BUILD\.jenkins\jobs\fileParameterBuild\builds\2014-01-10_16-52-47\fileParameters\subdir\input.txt

Environment: Jenkins ver. 1.532.1 on apache-tomcat-7.0.39 on Windows 7
Project: Jenkins
Labels: jenkins file-parameter parameter parameter-download
Priority: Major Major
Reporter: Eric Anker
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to