批量更新Jenkins项目的最佳方法是什么? [英] What's the best way to bulk update Jenkins projects?

查看:83
本文介绍了批量更新Jenkins项目的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有数百个Jenkins项目(大多数是通过一些模板创建的),经常需要对所有这些项目进行相同的更改.例如今天,我需要添加一个构建后步骤以最后删除工作区.接下来,我需要更改将构建结果复制到共享驱动器到Nexus存储库的步骤.

We have hundreds of Jenkins projects (mostly created from a few templates), often need to make the same change to all of them. e.g. today I need to add a post-build step to delete workspace at the end. Next I need to change the step to copy build result to a shared drive to Nexus repository.

将这种批量更改应用于Jenkins项目的最佳方法是什么?

What's the best way to apply such kind of bulk change to Jenkins projects?

推荐答案

您可以使用

You could use Configuration Slicing Plugin which is designed to do this.

它支持许多配置选项.

这篇关于批量更新Jenkins项目的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆