146
votes

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.

6

6 Answers

220
votes

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

18
votes

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.

13
votes

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

enter image description here

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

enter image description here

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

4
votes

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.

2
votes

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.

0
votes

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