Ii have used File Parameter as command line arguments.After selecting teh 
file thru File parameter, I ma passing it as Arugument to the command 
line.Please refer this screenshot.

On Thursday, 5 November 2015 13:13:10 UTC+5:30, Baptiste Mathus wrote:
>
> What did you put in the config fields for that file parameter, and how do 
> you reference it in your job step(s)?
> Le 5 nov. 2015 6:33 AM, "Narmadha Vigneshwaran" <narmadha.v...@gmail.com 
> <javascript:>> a écrit :
>
>> The issue here is  Its selecting the file from local and unable to upload 
>> the file in the workspace.
>>
>> On Thursday, 5 November 2015 11:02:06 UTC+5:30, Narmadha Vigneshwaran 
>> wrote:
>>>
>>> Sorry for the  incomplete info. My requirement is  I will pass an excel 
>>> file which has the data.The data has been read from file and it needs to be 
>>> processed.
>>> When  I am using the File Parameter, I am able to select the excel file 
>>> from my local machine. But when the build started, its failed with the 
>>> below error.
>>>
>>> java.io.FileNotFoundException: sam.xls (The system cannot find the file 
>>> specified)
>>>     at java.io.FileInputStream.open0(Native Method)
>>>     at java.io.FileInputStream.open(Unknown Source)
>>>     at java.io.FileInputStream.<init>(Unknown Source)
>>>     at java.io.FileInputStream.<init>(Unknown Source)
>>>     at MOU_Console.readExcel(MOU_Console.java:144)
>>>     at MOU_Console.iceLogin(MOU_Console.java:118)
>>>     at MOU_Console.main(MOU_Console.java:81)
>>>
>>> C:\Users\nuthiran\.jenkins\jobs\MOU\workspace>exit -1 
>>> Build step 'Execute Windows batch command' marked build as failure
>>> No JDK named ‘null’ found
>>>
>>> Hope this is clear enough now.
>>>
>>>  
>>
>>>
>>>
>>> On Wednesday, 4 November 2015 16:26:10 UTC+5:30, Narmadha Vigneshwaran 
>>> wrote:
>>>>
>>>> HI 
>>>> I am unable to pass the excel file as parameter thru File Parameter.Is 
>>>> there any solutions to resolve this issue?
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/74562dcc-306c-40ba-9f5c-da4d2faf4ec9%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/74562dcc-306c-40ba-9f5c-da4d2faf4ec9%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/538ccf46-3b0d-4088-86d8-9f695227170f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to