REPO

This plugin is up for adoption! We are looking for new maintainers. Visit our Adopt a Plugin initiative for more information.

repo repo plugin repo

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.7 - Mar 3, 2017

  • Update URLs to valid locations in help html. (pull #43)

  • Support for evaluating ${param} in destination dir. (pull #44)

  • Fix --force-sync help description. (pull #45)

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

Version 1.10.4 - Nov 29, 2016

Version 1.10.3 - Aug 18, 2016

Version 1.10.2 - Jul 13, 2016

Version 1.10.1 - Jul 11, 2016

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

Version 1.8.0 - Sept 25th, 2015

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

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.

Version 1.1

Add support for syncing from local mirrors, specify the number of projects to sync simultaneously, use a local manifest, and sync to a subdirectory of the workspace. Thanks to tgover.

Add support to specify the name of the manifest file to use. Thanks to farshidce.

Version 1.0

Initial Release