How to upload a generic file into a Jenkins job?

前端 未结 3 2174
星月不相逢
星月不相逢 2020-12-14 06:42

I am trying to find a way to prompt the user to select and upload a generic file from a local machine to a Jenkins job prior to build. The input file that user is going to u

3条回答
  •  鱼传尺愫
    2020-12-14 07:26

    The use of the Jenkins File Parameter will not work for Jenkins pipelines. It's ridiculous that they don't disable that kind of build parameter for pipelines. It's even more ridiculous that they don't a the very least, identify this SEVERE limitation in the help documentation for that parameter.

    It would have saved me a couple hours trying to figure out why it would not work in my pipeline.

    Refer to this feature request for more details: https://issues.jenkins-ci.org/browse/JENKINS-27413

提交回复
热议问题