Clone Workspace SCM Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID clone-workspace-scm Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
0.6
Sep 06, 2013
1.463
Source Code
Issue Tracking
Maintainer(s)
GitHub
Open Issues
Andrew Bayer (id: abayer)
Usage Installations 2013-Apr 1332
2013-May 1406
2013-Jun 1463
2013-Jul 1534
2013-Aug 1524
2013-Sep 1597
2013-Oct 1665
2013-Nov 1727
2013-Dec 1739
2014-Jan 1808
2014-Feb 1861
2014-Mar 1978

This plugin makes it possible to archive the workspace from builds of one project and reuse them as the SCM source for another project.


Usage

Publisher
  • In the configuration for a project whose workspace you want to clone and re-use in other projects, select "Archive for Clone Workspace SCM" in the list of publishers.
  • If desired, specify the files to include in the archive - by default, this will be "*/". Use Ant-style globs.
  • Specify the criteria a build needs to meet in order to be archived.
  • Run a build. If it meets the criteria, its workspace will be archived, until a new build meeting the criteria has run, at which point the old archive will be deleted.
SCM
  • In the configuration for a project which you wish to have re-use another project's workspace, select "Clone Workspace" from the list of possible SCMs.
  • Choose the parent project whose workspace you wish to re-use from the drop-down list - if no projects have the Clone Workspace Publisher enabled, the drop-down will be empty.
  • Choose the parent build criteria you wish to use.
  • Run a build - assuming the parent project has an archived workspace meeting the criteria in question, it'll be expanded and used as the workspace for this build.
  • Additionally, the changelog from the parent project build that archived workspace came from will be re-used as the changelog for this build.

Changelog

Version 0.6 (Sept 6. 2013)
  • Add support for Matrix jobs (issue #6890)
  • Add null check in CloneWorkspaceSCM.createChangeLogParser() to prevent NPE. (issue #13160)
  • Fix Switching archive type of cloned workspace leads to Exception in further jobs (issue #15038)
  • Use full name for jobs
  • Don't only consider jenkins root jobs as eligible parents
Version 0.5 (Aug 17, 2012)
  • Add option to turn off default Ant excludes from workspace archive. (issue #13888)
Version 0.4 (Feb 3, 2012)
Version 0.3 (March 4, 2011)
  • Some minor fixes
Version 0.2 (also March 14, 2010)
  • Clarifying display name text for CloneWorkspacePublisher
Version 0.1 (March 14, 2010)
  • Initial release.

Labels

Edit
plugin-scm plugin-scm Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Add Comment