Jenkins how to clone a project

Sometimes we need to create a replica of a project or project with similar configuration in Jenkins. This helps in avoiding entering project configuration data again. Here are quick steps to copy/clone a project to a new project in Jenkins. We’ll use Ubuntu Linux for the purpose of this tutorial.

  1. First on Jenkins home page click on new item link.
    jenkins-new-item
  2. This will take us to new project form. Type a name for the project and select copy existing item. Then type name of project you want to copy from and click ok.
    jenkins-new-project-form-copy-from-existing
  3. This will create new project using existing project as template. You will land on configuration page opened for the new project. You can then change settings for the new project if required and save it.
Share this article: share on Google+ share on facebook share on linkedin tweet this submit to reddit

Comments

Click here to write/view comments