Each run should have it's own workspace (unless you are setting a custom
workspace). If you are setting a custom workspace, then you will have
issues.

On Thu, Nov 5, 2015 at 11:43 PM Narmadha Vigneshwaran <
narmadha.vigneshwa...@gmail.com> wrote:

> What will happen if multiple users want to build the job at the same time
> with different files?
> The scenario is: Users will enter their credentials and select their own
> files(which has different file names as per the user) and run the job.
> User A has the file name as Test1.xls
> User B has the file name as  Sample.xlsx.
>
> While User A and B running the job parallely from their client machines,
> which file will be taken during the run time?
> As we have the parameter name as "mou.xls", how the conflict will be
> resolved?
>
>
>
> On Thursday, 5 November 2015 15:40:55 UTC+5:30, Daniel Beck wrote:
>
>> What you specify as parameter name is actually the name of the file used
>> in the workspace, and not a variable. So get rid of the surrounding % chars
>> in the batch step.
>>
>> On 05.11.2015, at 10:28, Narmadha Vigneshwaran <narmadha.v...@gmail.com>
>> wrote:
>>
>> > 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> 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.
>> > To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/74562dcc-306c-40ba-9f5c-da4d2faf4ec9%40googlegroups.com.
>>
>> > 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-use...@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.
>> > <file_parameter.png>
>>
>> --
> 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/2e47f366-3ac8-4117-b26d-d07140721b25%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/2e47f366-3ac8-4117-b26d-d07140721b25%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/CAPiUgVcQdAdCfQCw1B_pz85Vk9Nna%2BAEFFpuXBUg1ZXo3jyd_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to