-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from MarkEWaite/migrate-docs-to-github
Migrate documentation to GitHub
- Loading branch information
Showing
3 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Clone workspace SCM plugin | ||
|
||
Archive the workspace from builds of one job and reuse them as the SCM source for another job. | ||
|
||
## Usage | ||
|
||
The plugin provides a "publisher" that freestyle job can use to clone the workspace of one job for use by another job. | ||
|
||
- 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 | ||
|
||
## Version history | ||
|
||
See [GitHub releases](https://github.com/jenkinsci/jenkins-clone-workspace-scm-plugin/releases) for recent releases. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters