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

前端 未结 1 1613
余生分开走
余生分开走 2021-01-04 01:47

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 tha

1条回答
  •  醉梦人生
    2021-01-04 02:34

    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 讨论(0)
提交回复
热议问题