开发者

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

开发者 https://www.devze.com 2023-02-10 03:46 出处:网络
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 cou

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

精彩评论

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