Template Project Plugin

This plugin lets you use builders, publishers and SCM settings from another project.

Plugin Information

Plugin ID template-project
Latest Release 1.3-h-1
Latest Release Date Mar 25, 2013
Sources Github
Support Eclipse Hudson Forum
Issue Tracking Eclipse Bugzilla

A short set up guide

  • Set up a template project that has all the settings you want to share. E.g. you could create one with no SCM filled in, but with all the builders and publishers you want for all your projects. Its best to mark this project as disabled, since you are not actually going to run it.
  • Then set up a concrete project. Configure the SCM as you want. Then select 'use all the publishers from this project' and pick the template project. Ditto for the builders.

Limitations

  • It may be using some plugins in ways that were not intended. Compatibility with all plugins is not guaranteed.
  • It does not support project actions. That means that links that should be on the project page (e.g. 'latest test results') will not be there.
  • It has had virtually no testing.

To do list

  • Support project actions. This depends on being able to make some changes in hudson-core in a backward compatible way.
  • Parametrize the templates.
  • (Maybe) Create a separate list of template projects, so you don't have to put them in your main list and can clearly identify them.

Change Log

Version 1.2 (Feb 11, 2010)
  • Fix Hudson-breaking 1.1 release. (issue #5612)
  • Fix to allow using build steps from a matrix project. (issue #5146)
  • Get form field validators working again.
Version 1.1 (Feb 10, 2010)
  • Update code for more recent Hudson
Version 1.0 (Feb 13, 2009)
  • Initial release

Labels:

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

    Jéssica Yoshie Kussuda says:

    To test this plugin I did a template and in the project test conf...

    To test this plugin I did a template and in the project test configuration I checked the option 'Use publishers from another project' and put the name of the template.

    The plugin worked well only for the Post-build Actions configuration. It didn't work for the Source Code Management, Build Triggers, Build, Build Settings and Build Environment configurations.

    It would be nice using at least the Build Triggers and Build settings too.

    Did I did something wrong or it matches with your tests?

    Thanks!

  2. Jul 26, 2010

    Piotr Buczek says:

    The second limitation is quite painful. This plugin would be great if project ac...

    The second limitation is quite painful. This plugin would be great if project actions would be supported! Otherwise I loose important functionality of other plugins.