开发者

Create a hudson/jenkins job with a web-form upload

I have a requirement to create a job where a web upload (IE a post with a file) is going to be required. Is there a way to do this? (I've tried searching the web). Note that the files in question could be very large.

Workflow (for 开发者_如何学编程clarity): User clicks build in job menu, user can set parameters and make an upload, user clicks submit and job is built with that file as a source.

Other use case: The job is started remotely with a POST operation to upload the file and set the parameters.


You can create a Parameterized Build in which there is a File parameter for the user to upload their file.

File parameter allows a build to accept a file, to be submitted by the user when scheduling a new build. The file will be placed inside the workspace at the known location after the check-out/update is done, so that your build scripts can use this file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜