This plugin adds Repo as an SCM provider in Jenkins.
Plugin Information |
|---|
View REPO on the plugin site for more information. |
This plugin is up for adoption. Want to help improve this plugin? Click here to learn more!
Description
This plugin adds Repo (http://code.google.com/p/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.
Changelog
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
- 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.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
- 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.
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
22 Comments
Tim Gover
Please could you add support for mirrors ?
Alex Ling
Thanks for your great work! Could you please add support for extra parameters passing to "repo init", e.g. --repo-url or --no-repo-verify?
Tim Gover
I submitted a patch yesterday (following kernel.org hack!). See https://github.com/tgover1/repo-plugin/commit/3e1ff93c39584d1a6fd009c2510a0f81b9186861
Alex Ling
Thanks! Looking forward to the new release ...
seonguk baek
I'm using gerrit trigger and repo plug in to run build. but I can't get new commit that newly registered in gerrit when build run. so, I added repo download command in Execute shell like below pic.
is it correct method?
baz theman
Hi,
I am using repo plugin version 1.2 and Hudson version 1.395. For some reasons, not all changes are displayed. So, there are builds being triggered but no changes displayed. Anyone know why? Any fixes? Here are two cases, one with some xml error, another one is being triggered by actual changes...
Case 1:
This page captures the polling log that triggered this build.Started on Mar 20, 2012 1:01:34 PM
Apollo $ repo init -u git:/repos/product/manifest.git -b edp-gingerbread
repo initialized in /var/hudson/workspace/Apollo
Apollo $ repo sync -d
Apollo $ repo manifest -o - -r
org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
Done. Took 17 sec
Changes foundCase 2:Started on Mar 20, 2012 1:11:34 PM
Apollo $ repo init -u git:/repos/product/manifest.git -b edp-gingerbread
repo initialized in /var/hudson/workspace/Apollo
Apollo $ repo sync -d
Apollo $ repo manifest -o - -r
Added a project: device/common at revision: c491cd697e4bc16a52e3b1d254e4151ee3aad8bf
— cut —
Added a project: bootable/bootloader/u-boot at revision: 95a6281b9e9c5824fc34bd774a205206b8955488
Added a project: bootable/bootloader/x-loader at revision: 1e9849055a2de8c0f0f316866b37d58f5ec93c91
Done. Took 16 sec
Changes found
Justin Carr
Are there specific proxy related settings I need to set for this? I can not get past my firewall when using the plugin, but can do it just fine otherwise.
When trying to get https://android.googlesource.com/platform/manifest via the plugin returns an error 101
When I do a "repo init -u https://android.googlesource.com/platform/manifest" in the 'shell executable' area of the jenkins job it works just fine. It doesn't appear to be an issue with the environment as a whole.
Matt Legrand
I am having the same problem.
Vlad Dovlekaev
Any plans to support integration with gerrit trigger plugin (repo download command) ?
Venkat Prasad
Hiii
We use jenkins[1.565.3], repo plugin [1.6] and repo utility [v1.12.16].
We facing below index lock error on Ubuntu 14.04.1 LTS. Any help appreciated!
Muhammad Osama
Hi!
First of all thanks for making this plugin. I have a question.
Does this plugin works with gerrit trigger? Or we have to poll for the gerrit changes? What is the most efficient trigger method whenever a change is uploaded to gerrit's aosp repo.
Thanks for your time
Andreas Naumann
Hi,
so far I'm successfully using this plugin for multi repository CI. However, a problem comes up with project-repositories with lots of commit-traffic, but where I'm only interested in changes in a certain subfolder. Are there plans to add an option for restricting the build trigger to listen only to a specific subfolder?
Also a post-step with the possibility to commit/tag the snapshot manifest would be very helpful. Or is everybody tagging manually?
Regards,
Andreas
Minghon Lai
Good plugin.
Vincent Guignot
Maybe I'm wrong, but why this plugin doesn't allow to use credentials to clone git repositories ? I found a way but I need to inject and write the password in a file in a shell command. It 'll be very useful to be able to use jenkins credentials with repo.
Tony Kuo
It's possible to use ssh-agent with this plugin for builds, but it may not work for polling scm.
Jags S A
Could you please elaborate on how? I am struggling with the same situation as Vincent at the moment, and would greatly appreciate any updates on this
Thanks in advance.
Tony Kuo
In build configuration, under build environment, select to enable ssh-agent and pick the ssh-credential that you like to use.
ssh-agent is loaded before any repo is checked out so that should allow you to run the job and build your code.
Although the job will run when you trigger it (or schedule by time), Poll SCM won't work because ssh-agent is not loaded in the environment where Jenkins checks out the code and scans for changes
Vincent Guignot
Is it possible to add the support of --repo-branch parameter ?
Vincent Guignot
I've created the commit to add the --repo-branch support. Could you check it and push it if 's OK for you ?
https://github.com/20100/Jenkins-repo-plugin/commit/6347791825e8b15580e39b568e13d433398519f0
I really need it.
Thanks
Vincent Guignot
Tony Kuo, could you see my commit ? I really need it.
Thanks
Tony Kuo
Vincent Guignot I am not a developer nor a maintainer for the plugin. You will have to find someone else.
Igor Sarkisov
Does anybody know if there is a way to make REPO plugin to show author's email address instead of name in the list of changes? In our case it's inconsistent, in some cases it's showing author name in other cases it shows author's email address, whereas git log shows both name and email.
Add Comment