How to move an existing job from one view to another in Jenkins?

Jenkins

Jenkins Problem Overview


I want to move an existing job from one view to another but I can't find the way. Is the only way to copy the job and delete it from the other view? I would like to have the same name and for my experience Jenkins doesn't handle very well the renaming of jobs.

Jenkins Solutions


Solution 1 - Jenkins

you can simply do it by editing the view (link "Edit view" on left side) and check/uncheck checkboxes enter image description here

Solution 2 - Jenkins

To Remove:

  1. Click on View that you want to remove from.

  2. Click on "Edit View" in the left toolbar.

  3. Scroll down and uncheck your job (you will see "Jobs" area in the "Job Filter" section).

To Add:

Same as above, just in 3. you need to check the job you want to add to your view.

Solution 3 - Jenkins

  1. Click on the view in which you want to add the newly created Job as shown in pic.

enter image description here

  1. Click on Edit View on left side and then select the appropriate job under Job Filter using the check box.

enter image description here

  1. Once you selected the required Job click on save button. This job will be now shown under the view.

Solution 4 - Jenkins

since last Jenkins versions (actually using 1.651.1), there's a [Move] link on the left menu where you can simply choose the destination folder from a drop list, then you have to edit the view to include the job.

Solution 5 - Jenkins

All the above answers are correct. However, the checkbox will be only available if one selects "List View" while creating the new view itself. If you select "My view" instead, it may not work.

Solution 6 - Jenkins

In some cases, like mine, you may not find EditView. I could resolve it by clicking on the gear icon in the dashboard view and selecting 'Configure' button

enter image description here

Configure Buttton

You will then get the view edit form to select/unselect jobs


enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionenkaraView Question on Stackoverflow
Solution 1 - JenkinsjussuperView Answer on Stackoverflow
Solution 2 - JenkinsOleg KaplounView Answer on Stackoverflow
Solution 3 - JenkinsWaqas AhmedView Answer on Stackoverflow
Solution 4 - JenkinsAbderrazak BOUADMAView Answer on Stackoverflow
Solution 5 - JenkinsAnpView Answer on Stackoverflow
Solution 6 - JenkinsPrasanna RamaswamyView Answer on Stackoverflow