Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 Jenkins 将基线代码从 Dimension 签出到本地工作区。我通过将基线作为输入值传递给字符串变量“DM_BASELINE”,将 Jenkins 作业设计为参数化构建。但我不知道如何将此字符串值集成到 Jenkins 作业中定义的 SCM 部分中。我在 SCM 部分提供了项目和 Dimension 存储库详细信息。
澄清这一点的任何帮助都将非常可观。
我通过将基线值作为字符串参数传递来解决了这个问题。参数值应采用product_id:baseline格式。在 Jenkins 作业的 SCM 部分,将要监控的项目名称和文件夹传递为空或 /。最重要的一点是检查“高级”部分中的“使用更新”选项。
这将通过 Jenkins 将 Dimension 中的基线代码下载到本地工作区。