Move existing jobs into folders

5,363 views
Skip to first unread message

Eric Wood

unread,
Nov 22, 2013, 12:30:15 PM11/22/13
to jenkins...@googlegroups.com
I just starting using the folders plugin and it looks great.  Is there a way for me to move existing jobs into folders for better organization?

Thanks, Eric

Eric Wood

unread,
Nov 22, 2013, 12:35:09 PM11/22/13
to jenkins...@googlegroups.com
The only way I could figure it out was to actually move the job to the folder in the underlying Jenkins file system and then reload configuration information.  Which seemed to work, but I have not played with it enough to know if there is some embedded information that needs to be adjusted.  Is this an acceptable method or is there a way in the UI?

Thanks, Eric


On Friday, November 22, 2013 12:30 PM, Eric Wood <eric...@rocketmail.com> wrote:
I just starting using the folders plugin and it looks great.  Is there a way for me to move existing jobs into folders for better organization?

Thanks, Eric
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Vincent Latombe

unread,
Nov 22, 2013, 12:43:43 PM11/22/13
to Jenkins Users
That should work by moving in filesystem.

(the move feature is part of the Folders Plus plugin that is part of Jenkins Enterprise offer)

Vincent


2013/11/22 Eric Wood <eric...@rocketmail.com>

Daniel Beck

unread,
Nov 22, 2013, 1:10:05 PM11/22/13
to jenkins...@googlegroups.com
You can manually move jobs from the 'jobs' directory into 'jobs/foldername/jobs'. It will break any existing job relationships, but plugins should be able to deal with disappearing jobs.

But you should still be able to use the full-featured, closed-source Folders 3.x if you tell Cloudbees your email address. The following features exist in Folders version 3 that have been removed from Folders 4 (and moved into commercial Folders Plus 2):

* Move jobs into/out of folders (without reloading data, but will still break job relationships thanks to JENKINS-18028 -- it will appear to delete the existing job and to create a new job to plugins monitoring such things)
* Configurable health reports (for the weather icon)
* Custom icons
* Folder-wide environment variables inherited to all descendent items/job
* Restrict job types possible in the folder

On 22.11.2013, at 18:30, Eric Wood <eric...@rocketmail.com> wrote:

> I just starting using the folders plugin and it looks great. Is there a way for me to move existing jobs into folders for better organization?
>
> Thanks, Eric
>

Eric Wood

unread,
Nov 22, 2013, 1:18:03 PM11/22/13
to jenkins...@googlegroups.com
Daniel:

What do you mean by:

But you should still be able to use the full-featured, closed-source Folders 3.x if you tell Cloudbees your email address. The following features exist in Folders version 3 that have been removed from Folders 4 (and moved into commercial Folders Plus 2):

How do you gain access to the "closed-source" version.  Is this part of the CloudBees Free Enterprise Plugins?

Thanks, Eric


> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsub...@googlegroups.com.

> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsub...@googlegroups.com.

Daniel Beck

unread,
Nov 22, 2013, 1:36:22 PM11/22/13
to jenkins...@googlegroups.com
On 22.11.2013, at 19:18, Eric Wood <eric...@rocketmail.com> wrote:

> How do you gain access to the "closed-source" version. Is this part of the CloudBees Free Enterprise Plugins?

Apparently, not anymore. It already includes Folders 4 when I tried it on a Jenkins 1.532.1-rc. But you can install that, wait until Jenkins is restarted, register, manually download Folders 3.15 from http://jenkins-updates.cloudbees.com/download/plugins/cloudbees-folder/ and upload it to Jenkins via the update center, and restart Jenkins again. It worked like a charm for me without any existing folders. If you have existing folders, I'd try it on a throwaway instance first to see what happens to these folders.

You'll also probably want to disable or remove the other (annoying) plugins that come with the bundle.

Daniel Beck

unread,
Nov 22, 2013, 1:43:20 PM11/22/13
to jenkins...@googlegroups.com
Just thought I'd add that 3.15 is a dead end.

It's no problem for me to use it on temporary test instances (and Folders 4 on the Enterprise-licensed instances), but if, for some reason, Folders 3.x becomes incompatible with future Jenkins in some way, you'll be in trouble -- upgrading to the then-current version will remove all of these shiny features, which can be painful especially for the folder-wide environment variables!
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.

Eric Wood

unread,
Nov 22, 2013, 2:07:03 PM11/22/13
to jenkins...@googlegroups.com
Daniel:

I have never performed such an operation.  I have installed the "Free" plugins, registered with cloudbee and downloaded the 3.15 version.  How do I:
"upload it to Jenkins via the update center"?


Daniel Beck

unread,
Nov 22, 2013, 2:12:01 PM11/22/13
to jenkins...@googlegroups.com
On 22.11.2013, at 20:07, Eric Wood <eric...@rocketmail.com> wrote:

> "upload it to Jenkins via the update center"?

Go to http://yourjenkins/pluginManager/advanced and scroll down to 'Upload Plugin'.

Eric Wood

unread,
Nov 22, 2013, 2:13:55 PM11/22/13
to jenkins...@googlegroups.com
Found how to do it under the advance tab on Manage Plugin, Initially it failed, but when I restarted jenkins it tells me I have 3.15 installed and 4.0 is available.
Reply all
Reply to author
Forward
0 new messages