Shelve Project Plugin

Plugin Information

Plugin ID shelve-project-plugin
Latest Release 1.1
Latest Release Date Nov 05, 2010
Plugin Central Plugin Central 3.2
Sources Subversion
Support Eclipse Hudson Forum
Issue Tracking Eclipse Bugzilla
Hudson Core (latest) 3.3.3

This plugin lets you shelve projects so that they can easily be resurrected. "Shelving a project" is like deleting a project into a recycle bin. When you shelve a project, it'll disappear from the list of projects and become inaccessible from Hudson, just like how it goes when a project is deleted, with one difference — instead of getting deleted, the data is archived into a zip file and stored on the server. This allows the administrator to resurrect it later (aka unshelving), in an unlikely event that the job turned out to be necessary.

This feature is convenient when you have lots of old jobs lying around, and you are 99% sure you won't need them but you can't rule out 1% possibility that you might find them necessary later.

Moved to Jenkins

This plugin is now supported and documented at Jenkins.

Usage

When you install this plugin, you get "shelve project" in each job page, as follows:

You can click this icon and shelve the project. The shelved projects can be resurrected from the Hudson top page, with the following UI:

Security

If security settings are enabled in Hudson, shelving a project requires DELETE permissions and unshelving a project requires CREATE permissions.

Version History

Version 1.1 (2010-11-05)

  • Update code making it compatible with Hudson 1.383. Older versions of Hudson received 500 errors because the method "getEstimatedDuration" was unimplemented. (issue #8016)

Version 1.0 (2010-10-18)

  • Change icon to a filing cabinet icon. (issue #7817)

Version 0.3 (2010-02-27)

  • Reload Hudson configuration after unshelving a project. (issue #5425)
  • Hudson version 1.336 or newer is now required for reloading Hudson's configuration after  unshelving a project.

Version 0.2 (2010-01-25)

Version 0.1 (2010-01-05)

  • Initial release

Todo

  • Delete shelved projects
  • How to handle workspaces?
    • Shelving a project running on master works - however, the project's workspace located on the master is archived
    • Shelving a project running on a slave works - however, project's workspace located on the slave is not archived

Labels:

plugin-misc plugin-misc Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Jan 06, 2010

    J. Longman says:

    More details please?  I'm interested but I'd like to know exactly what it d...

    More details please?  I'm interested but I'd like to know exactly what it does.

  2. Oct 14, 2010

    Nandini Obhrai says:

    Can we call this plugin via url post to <hudsonserver>\shelve\shelveprojec...

    Can we call this plugin via url post to <hudsonserver>\shelve\shelveproject

    1. Oct 18, 2010

      Ash Lux says:

      Yes you can by do this by sending a GET or POST to HUDSON_URL/job/JOBNAME/shelve...

      Yes you can by do this by sending a GET or POST to HUDSON_URL/job/JOBNAME/shelve/shelveProject.

  3. Nov 05, 2010

    Jesse Glick says:

    Generally I'm interested in config.xml, and maybe changelog.xml, but I definitel...

    Generally I'm interested in config.xml, and maybe changelog.xml, but I definitely do not want to archive the workspace or old artifacts - these would be far too big. Is it supported to shelve just metadata?