gpt4 book ai didi

hudson - 使用网络表单上传创建 hudson/jenkins 作业

转载 作者:行者123 更新时间:2023-12-03 14:50:48 25 4
gpt4 key购买 nike

我需要创建一个需要网络上传(即带有文件的帖子)的工作。有没有办法做到这一点? (我试过在网上搜索)。请注意,有问题的文件可能非常大。

工作流程(为清晰起见):
用户在作业菜单中点击构建,用户可以设置参数并进行上传,用户点击提交并以该文件作为源构建作业。

其他用例:
作业通过 POST 操作远程启动以上传文件并设置参数。

最佳答案

您可以创建一个 Parameterized Build其中有一个 文件 用户上传文件的参数。

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.

关于hudson - 使用网络表单上传创建 hudson/jenkins 作业,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4970574/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com