工作流程(为了清楚起见):
用户单击构建在作业菜单中,用户可以设置参数并进行上传,用户单击提交,并以该文件作为源构建作业.
其他用例:
该作业通过POST操作远程启动,以上传文件并设置参数.
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.
代码日志版权声明:
翻译自:http://stackoverflow.com/questions/4970574/create-a-hudson-jenkins-job-with-a-web-form-upload