Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rename a job in jenkins

Tags:

jenkins

How to go about renaming a job in jenkins? Is there another way than to create a new job and destroying the old one?

like image 325
Philippe Blayo Avatar asked Oct 08 '12 09:10

Philippe Blayo


People also ask

Can Jenkinsfile be renamed?

In Jenkins, a "Project" is stored in the server's filesystem as a directory. Considering this, you can move, rename or copy a Jenkins project by simply copying, moving or renaming the corresponding directory.

Can we delete a job in Jenkins?

Your answerYou can remove or add jobs in a view in Jenkins. For that, you can follow the below steps. Click on View that you want to remove from. Click on "Edit View" in the left toolbar.


2 Answers

In Jenkins v2, in your dashboard or job overview, click right button on the job and select rename:

enter image description here

like image 102
DrumM Avatar answered Sep 22 '22 11:09

DrumM


In the version we're running (1.480) it is simply a matter of changing the Project name in the Configure menu and hitting Save afterwards.

Cheers,

like image 38
Anders R. Bystrup Avatar answered Sep 22 '22 11:09

Anders R. Bystrup