How do I clone a job in Jenkins?

前端 未结 12 639
孤城傲影
孤城傲影 2020-12-07 09:40

Jenkins has the Gerrit Plugin in place so that when we do check-ins to Gerrit, Jenkins performs a build and if it succeed

12条回答
  •  萌比男神i
    2020-12-07 10:03

    In my case, I had to copy over a job from one jenkins instance to another.

    So first I looked under the directory structure of the old Jenkins (the job/directory name; also noted the config.xml) and then under the directory structure of the new jenkins where I then created a directory with same name/job and copied over the config.xml under this newly created dir.

    Then under, "Manage Jenkins", I hit "Reload Configuration from Disk". Thats it.

提交回复
热议问题