开发者

How can I copy & paste, or duplicate, an existing project?

开发者 https://www.devze.com 2023-01-04 19:54 出处:网络
I\'ve got an existing Hudson project that is configured and working. I need to duplicate the project so that I can have the original and then change the new one so that开发者_如何学Python it points

I've got an existing Hudson project that is configured and working.

I need to duplicate the project so that I can have the original and then change the new one so that开发者_如何学Python it points to a different source control.

I don't want to manually recreate the build. How can i "copy & paste" or otherwise duplicate the exiting build configuration, so I can get the new build configuration up and running faster?


Click on "new job" and then select "Copy existing job" at the bottom. Then enter the name of the job you want to copy into the text field.


In addition to copying a job, I sometimes copy parts of the XML file that contains the job configuration. You just paste the copied part into the xml file of the new job and reload the configuration (under manage hudson). This is helpful when you change the original job after you created your copy. However, for your use case the copy is the right thing to do.


When you do new job, you can make the choice to copy it from an existing job. Later alter the settings of the new job.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号