For some organizational reasons we have to move Jenkins to new servers. As we are on a old version so a updated is also need on same time. What are things we should consider. Also not sure if we need to configure all jobs in new instance manually or there is faster way to clone them from existing instance. We have around 300 jobs, one master and 7 slaves. We need to set up three masters, one with four slaves and two with three slaves. 300 jobs will split between three masters depending upon there category.
Thanks !!
答案 0 :(得分:1)
如果我想将Jenkins的工作移动到3个不同的服务器并使用自己的插件 - 我会:
转到原来的$ {JENKINS_HOME} / jobs和
tar cvfz < jobs_list > jobs.tgz
3次,分别针对每个新的Jenkins实例
最后将作业档案解压缩到相应的新$ {JENKINS_HOME} / jobs目录。
如果需要,运行测试并安装缺少的插件。在我看来,应该在每个Jenkins实例上单独设置访问权限。