Hi all,

I have a MultiJob which calls a set of jobs. All these jobs need a file 
parameter so I added the parameter to MultiJob so that it'll be passed to 
all the child jobs. When I pass it that way and run I get a "File not 
found" error for few child jobs, but remaining succeed.

Error trace looks like this

*00:00:00.054* [EnvInject] - Executing scripts and injecting environment 
variables after the SCM step.*00:00:00.113* [EnvInject] - Injecting as 
environment variables the properties content *00:00:00.113* 
JAVA_HOME=C:\jdk1.6.0_24*00:00:00.121* *00:00:00.121* [EnvInject] - Variables 
injected successfully.*00:00:00.122* Copying file to USER_CASES*00:00:00.124* 
FATAL: /tmp/upload__7c1b35f5_141eacfc610__8000_00000181.tmp (No such file or 
directory)*00:00:00.124* java.io.FileNotFoundException 
<http://stacktrace.jenkins-ci.org/search?query=java.io.FileNotFoundException>: 
/tmp/upload__7c1b35f5_141eacfc610__8000_00000181.tmp (No such file or 
directory)*00:00:00.124*       at java.io.FileInputStream.open(Native 
Method)*00:00:00.124*    at 
java.io.FileInputStream.<init>(FileInputStream.java:137)*00:00:00.124*       at 
org.apache.commons.fileupload.disk.DiskFileItem.getInputStream(DiskFileItem.java:230)*00:00:00.124*
  at hudson.FilePath.copyFrom(FilePath.java:841)*00:00:00.124*    at 
hudson.model.FileParameterValue$2.setUp(FileParameterValue.java:140)*00:00:00.124*
   at hudson.model.Build$BuildExecution.doRun(Build.java:154)*00:00:00.124*     
   at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:567)*00:00:00.124*
  at hudson.model.Run.execute(Run.java:1604)*00:00:00.124*        at 
hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)*00:00:00.124*        at 
hudson.model.ResourceController.execute(ResourceController.java:88)*00:00:00.124*
    at hudson.model.Executor.run(Executor.java:246)
>
>
Where USER_CASES is the File Parameter name that I gave for all the jobs.


Anyone faced this issue ?


Vivek.

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

Reply via email to