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" < [email protected]> 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 [email protected]. > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4ALz6gKFphWux-_Kemek5PXKyKOcE_jmHoLG%3D5By%2B8qA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
