This plugin adds Repo as an SCM provider in Jenkins.
This plugin is up for adoption. Want to help improve this plugin? Click here to learn more!
Description
This plugin adds Repo (https://gerrit.googlesource.com/git-repo) as an SCM provider for Jenkins. Projects can use this plugin to only run builds when changes are detected in any of the git repositories in the repo manifest, to list the changes between builds, and to re-create the project state across all repositories for any previous build using a static manifest.
Pipelines
The repo plugin provides an SCM implementation to be used with the Pipeline SCM checkout
step.
The Pipeline Syntax Snippet Generator guides the user to select checkout options.
Environment Variables
The repo plugin assigns values to environment variables in Pipeline projects.
- REPO_MANIFEST_URL
-
URL of manifest repository used.
- REPO_MANIFEST_BRANCH
-
Branch of the manifest repository used.
- REPO_MANIFEST_FILE
-
Manifest filename used.
- REPO_MANIFEST_XML
-
Static manifest (in XML format).
Changelog
As of version 1.11.0 the changelog is moved to GitHub Releases
Version 1.10.6 - Jan 10, 2017
-
Use local_manifests/local.xml rather than local_manifest.xml. (pull #42)
Version 1.10.5 - Nov 30, 2016
-
JENKINS-40114 Fixed. (pull #41)
Version 1.10.4 - Nov 29, 2016
-
Fixex typos in local manifest help. (pull #37)
-
JENKINS-36703 Fixed polling behaviour. (pull #38)
-
Fixed some repo commands. (pull #39)
Version 1.10.3 - Aug 18, 2016
-
JENKINS-37416 Expand local manifest. (pull #36)
Version 1.10.2 - Jul 13, 2016
-
JENKINS-36644 Fix Tag action is not working in pipeline job. (pull #35)
-
JENKINS-33958 Fix changelog hang when used with pipeline. (pull #34)
Version 1.10.1 - Jul 11, 2016
-
JENKINS-14539 Fix issue with Email Ext plugin - full name was returned instead of email. (pull #33)
Version 1.10.0 - Feb 22, 2015
-
Adding an option to ignore specific projects on scm poll. (pull #31)
Version 1.9.0 - Jan 21, 2015
-
Support for Pipeline Plugin (pull #28)
Version 1.7.1 - May 6th, 2015
-
Fix some options can’t be shown properly in configuration page (pull #25)
Version 1.7 - Apr 23rd, 2015
-
Support for shallow clones, option to reset the repo before syncing (pull #20)
-
Fixed JENKINS-17913 Expand manifest file and URL. (pull #21)
-
Added --trace option. (pull #22)
-
Fixed JENKINS-23262 (pull #22)
-
Added option for --first-parent in changelog. (pull #23)
Version 1.6 - Nov 19th, 2013
-
Allow parameters in repo branch name (issue #20)
-
Fixed a bug where a poll compared the current workspace and polled branch incorrectly.
-
Improved git log
Version 1.5 - April 23th, 2013
-
Support for repo init -g
-
Support for repo init --repo-url
-
Parent pom updated to jenkins 1.424
Version 1.3 - November 19th, 2012
-
Lowered memory footprint in case of projects with a large build history.
-
Support repo options '-c' and '-q'.
-
Fix: Repo does not implement getAffectedFiles() (issue #14926).
-
Allow localManifest to be specified either literally or as an URL.
Version 1.2.1 - April 23rd, 2012
-
Fix : Jobs using repo plugin do not persist (JENKINS-12466)
-
Fix : Fixed NPE in RevisionState.hashCode()
Version 1.2
If build scripts modify the workspace, which cause problems during repo sync, try running git reset --hard on the repository and re-running repo sync. Thanks to tgover.
Don’t show all the changes brought in from a merge commit in the change log, just show the merge commit (see git log --first-parent). This fixes a problem of a merge commit breaking the build and all authors of changes brought in with that merge commit getting emailed about it. Thanks to tgover.