Nope.  If I predefined a file parameter from job config page then the file 
can successfully uploaded into the workspace. 

But in my case,  I didn't predefined and file parameter from the job config 
page. What I want is to set the file parameter programmatically (by 
plugin). 

Currently the parameter can be created but the content is empty. which 
means the plugin not successfully received the file content from the user 
post form.

On Monday, May 2, 2016 at 8:39:32 PM UTC+8, Daniel Beck wrote:
>
>
> > On 02.05.2016, at 14:16, icetree521 <[email protected] <javascript:>> 
> wrote: 
> > 
> > In plugin, how can we save this foo.xml into job's workspace ? 
> > 
>
> If that's a regular (freestyle) project, and a regular file parameter, the 
> file is already in the workspace.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/515fefdf-3230-43cf-bcf4-eaa1dba0e0b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to