Friday, February 24, 2017

Jenkins - Cloning an existing job in jenkins

We can clone an existing job in Jenkins using the steps below. Copying a Jenkins job is useful in case there is minor changes in the two job configurations.

Steps to be followed:
  • In Jenkins, we can see all the existing jobs in the dashboard and option to create a new job by clicking on New Item
Jenkins - cloning existing job
  • On clicking on new Item, a new page will be displayed to select project type and name of the item. Provide the name for the item.

Jenkins - cloning existing job
  •  In the bottom of the page, there is a option to copy from existing item. Provide the existing job name and click on OK.
Jenkins - cloning existing job
  •  The new job will be created and displayed in the dashboard. Make necessary changes in the job and save.
Jenkins - cloning existing job

 

No comments:

Post a Comment