Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
898c66b
Fixed NPE in RevisionState.hashCode()
Feb 20, 2012
dcba6dd
Merge pull request #5 from bjarkef/master
aheritier Apr 4, 2012
d48ea50
RElease a bugfix for JENKINS-12466
aheritier Apr 4, 2012
d71a66a
Merge pull request #6 from aheritier/master
aheritier Apr 4, 2012
2740ebd
updated maven pom to use repo.jenkins-ci.org repository
ndeloof Apr 6, 2012
3fb046c
[maven-release-plugin] prepare release repo-1.2.1
aheritier Apr 23, 2012
d908037
[maven-release-plugin] prepare for next development iteration
aheritier Apr 23, 2012
8787852
Caching of ProjectState objects.
Nov 7, 2012
c741a0c
Unit tests of ProjectState
Nov 7, 2012
39c48d5
Using cache of ProjectStates for xstream deserialization.
Nov 8, 2012
fb6ea7e
Add feature: support two repo sync's options
Jul 10, 2012
a31c966
Corrected identation
Nov 14, 2012
7e85c2a
Improved wording of help text
Nov 14, 2012
b7c8ee2
Updated roadmap
Nov 14, 2012
c7bbc7c
Bjarke added to maintainers and copyright notice
Nov 14, 2012
39dc567
[FIXED JENKINS-14926] Implement the parent interface's getAffectedFil…
Aug 24, 2012
f2ead6f
New Known Bugs file
Nov 14, 2012
b2e0bff
Allow localManifest to be specified either literally or as an URL.
Oct 9, 2012
2aafc0f
Enhance comments and help for localManifest
Oct 12, 2012
a2c89c2
[maven-release-plugin] prepare release repo-1.3
Nov 19, 2012
6d042ec
[maven-release-plugin] prepare for next development iteration
Nov 19, 2012
0a31b15
Add support for repo group command (repo init -g)
vsiva Jan 18, 2013
1c22ee5
Merge pull request #14 from vsiva/repogroup
aep Apr 23, 2013
d187c09
Switch pom.xml from hudson to jenkins
aep Apr 23, 2013
2d5502a
implement ui for --repo-url
aep Nov 29, 2012
5d40971
adding myself as maintainer
aep Apr 23, 2013
1d6eb76
[maven-release-plugin] prepare release repo-1.4
aep Apr 23, 2013
fdf57f7
[maven-release-plugin] prepare for next development iteration
aep Apr 23, 2013
f41af34
[maven-release-plugin] prepare release repo-1.5
aep Apr 24, 2013
8e52f38
[maven-release-plugin] prepare for next development iteration
aep Apr 24, 2013
d9a9fce
fixed major bug in branch comparison
rburgst Aug 9, 2013
0d1699d
fixed checkstyle
rburgst Aug 9, 2013
4aeacc8
take the manifest repo itself into account in RevisionState
Oct 10, 2013
be31767
export our properties to the REST api
Oct 10, 2013
3be115d
Merge pull request #16 from rburgst/fix-comparison
aep Oct 15, 2013
9fabbd8
modifiedFiles may be null
Oct 21, 2013
0e8f96f
partial fix for JENKINS-17913 expand variables for branch
rburgst Aug 8, 2013
c2a966a
fixed issue where selecting a branch for manual build no longer worked
rburgst Oct 21, 2013
31f9929
fixed check style issues
rburgst Oct 21, 2013
1dee753
improved parameter merging
rburgst Oct 29, 2013
2bf294f
Merge pull request #19 from rburgst/branch-expansion
aep Nov 6, 2013
4bb781d
log: body and subject should be in one field
Oct 21, 2013
42bc86d
fix checkstyle issues from #19
Nov 6, 2013
4332a1a
[maven-release-plugin] prepare release repo-1.6
aep Nov 19, 2013
51937d5
[maven-release-plugin] prepare for next development iteration
aep Nov 19, 2013
c158d56
Support for a depth parameter in the repo plugin
Aug 5, 2014
4888a6e
option to reset first
Aug 11, 2014
15b9c85
Acknowledge failures of repo resetFirst option
Sep 29, 2014
8481d85
Merge pull request #20 from dwarburt/depth-and-reset
aep Oct 11, 2014
fc2c8d1
[FIXED JENKINS-17913] Expand variables
scottanderson Oct 24, 2014
41d6e86
Merge pull request #21 from scottanderson/master
rsandell Oct 26, 2014
7489080
Add --trace option
scottanderson Oct 27, 2014
12d723a
Preserve environment variables
scottanderson Oct 27, 2014
0721def
Merge pull request #22 from scottanderson/master
rsandell Oct 29, 2014
ba9e448
Add option for --first-parent in changelog
Jan 8, 2015
2abb1c3
Rename firstParent to showAllChanges
Feb 4, 2015
620bee5
Merge pull request #23 from onionjake/option-firstparent
rsandell Feb 5, 2015
9c6f879
Make it simpler to release
rsandell Apr 23, 2015
962e4d8
[maven-release-plugin] prepare release repo-1.7
rsandell Apr 23, 2015
a18bffa
[maven-release-plugin] prepare for next development iteration
rsandell Apr 23, 2015
80837bd
Fix some options can't be shown properly in configureation page
maksonlee Apr 23, 2015
4a3203b
Merge pull request #25 from maksonlee/master
rsandell May 6, 2015
3eee941
[maven-release-plugin] prepare release repo-1.7.1
rsandell May 6, 2015
295e079
[maven-release-plugin] prepare for next development iteration
rsandell May 6, 2015
1f4c85e
add option to enable the force-sync option to repo sync
andrewgoktepe Aug 6, 2015
c4a5b3b
force sync option that works is --force-sync, not -f
andrewgoktepe Aug 6, 2015
676fc19
move forceSync out of constructor and into a setter method
andrewgoktepe Sep 22, 2015
b4a140b
do not default forceSync to true
andrewgoktepe Sep 22, 2015
2844357
Update parent to 1.580.1
mikaukora Sep 21, 2015
5bb7bd9
Add --no-tags repo sync option
mikaukora Sep 21, 2015
b9eed66
Merge pull request #26 from andrewgoktepe/force-sync
rsandell Sep 25, 2015
9d846a9
Adding idea project files to ignore
rsandell Sep 25, 2015
3246261
Merge branch 'master' of git://github.com/mikaukora/repo-plugin into …
rsandell Sep 25, 2015
435bdc2
Merge pull request #27
rsandell Sep 25, 2015
d7b74fd
[maven-release-plugin] prepare release repo-1.8.0
rsandell Sep 25, 2015
cf2e3ab
[maven-release-plugin] prepare for next development iteration
rsandell Sep 25, 2015
45dd2f9
[JENKINS-26836] Support use from Workflow.
Dec 18, 2015
cf19c9f
Throw exception to report checkout error.
Dec 22, 2015
b03ca0c
Remove unnecessary @CheckForNull annotation.
Jan 6, 2016
12adcba
Explicitely set default values in constructor.
Jan 19, 2016
c7c1ff8
Merge pull request #28 from Typz/workflow-support
rsandell Jan 21, 2016
e2eaff6
[maven-release-plugin] prepare release repo-1.9.0
rsandell Jan 21, 2016
71446a3
[maven-release-plugin] prepare for next development iteration
rsandell Jan 21, 2016
fd0763a
adding an option to ignore specific projects on scm poll.
sasha-stratoscale Mar 13, 2015
153655b
Merge pull request #31 from solganik/master
rsandell Feb 22, 2016
72a7ce1
[maven-release-plugin] prepare release repo-1.10.0
rsandell Feb 22, 2016
1d51aad
[maven-release-plugin] prepare for next development iteration
rsandell Feb 22, 2016
57d3cd9
Fix issue with Email Ext plugin where full name was returned instead …
kevin-d-lee Jul 8, 2016
8ddb224
Merge pull request #33 from happidad/fix-JENKINS-14539
rsandell Jul 11, 2016
c466c96
[maven-release-plugin] prepare release repo-1.10.1
rsandell Jul 11, 2016
9ba3c47
[maven-release-plugin] prepare for next development iteration
rsandell Jul 11, 2016
48b2086
Override the newer overload of parse
maksonlee Jul 13, 2016
8c014ab
Replace deprecated method for pipeline compability
maksonlee Jul 13, 2016
72c1466
Merge pull request #34 from maksonlee/fix-pipeline-changelog
rsandell Jul 13, 2016
8916e2f
Merge pull request #35 from maksonlee/fix-pipeline-tag-action
rsandell Jul 13, 2016
0c76194
Update maintainers
rsandell Jul 13, 2016
10ed501
[maven-release-plugin] prepare release repo-1.10.2
rsandell Jul 13, 2016
5e75ad4
[maven-release-plugin] prepare for next development iteration
rsandell Jul 13, 2016
1c38924
Fix Javadoc of RepoScm#getEnvVars
mnonnenmacher Aug 15, 2016
e8dc112
[FIXED JENKINS-37416] Expand local manifest value
mnonnenmacher Aug 15, 2016
0b3120d
Merge pull request #36 from mnonnenmacher/expandLocalManifest
rsandell Aug 17, 2016
de2b26b
update distribution management
rsandell Aug 18, 2016
3a52e23
[maven-release-plugin] prepare release repo-1.10.3
rsandell Aug 18, 2016
3383a75
[maven-release-plugin] prepare for next development iteration
rsandell Aug 18, 2016
62e2b67
Fix typos in local manifest help
mnonnenmacher Sep 14, 2016
03e4d61
Merge pull request #37 from mnonnenmacher/typos
rsandell Sep 23, 2016
b760e06
JENKINS-36703: Fix polling behaviour
realdadfish Oct 28, 2016
ae08c75
Some stylistic / NPE / safeguard changes.
realdadfish Oct 28, 2016
a610ba8
Merge pull request #38 from tommyd3mdi/master
rsandell Oct 31, 2016
55a7e73
Fix some repo commands
Nov 28, 2016
f8ba11f
Merge pull request #39 from voxtok/fix-repo-forall-and-repo-manifest
rsandell Nov 29, 2016
9e06236
[maven-release-plugin] prepare release repo-1.10.4
rsandell Nov 29, 2016
9d40fd7
[maven-release-plugin] prepare for next development iteration
rsandell Nov 29, 2016
9542a6a
Make class ChangeLogEntry public so that it can be accessed from outs…
maksonlee Nov 30, 2016
80af5cf
Merge pull request #41 from maksonlee/fix-change-details-cannot-be-shown
rsandell Nov 30, 2016
a5ec11f
[maven-release-plugin] prepare release repo-1.10.5
rsandell Nov 30, 2016
3a1f82d
[maven-release-plugin] prepare for next development iteration
rsandell Nov 30, 2016
44b1577
Use local_manifests/local.xml rather than local_manifest.xml
aswild Jan 7, 2017
57eff0c
Merge pull request #42 from aswild/pull/local_manifest
rsandell Jan 10, 2017
268fdbf
[maven-release-plugin] prepare release repo-1.10.6
rsandell Jan 10, 2017
67e9a6a
[maven-release-plugin] prepare for next development iteration
rsandell Jan 10, 2017
631868e
Update URLs to valid locations in help html.
ViaviSolutions Feb 27, 2017
b445b3d
Support for evaluating ${param} in destination dir
nemo42 Mar 2, 2017
edbc588
Fix --force-sync help description
pdsouza Mar 2, 2017
e9c040b
Merge pull request #45 from pdsouza/fix-forcesync-help
rsandell Mar 3, 2017
52eb6bc
Merge pull request #44 from nemo42/master
rsandell Mar 3, 2017
e3c8ea1
Merge pull request #43 from themikenicholson/master
rsandell Mar 3, 2017
4b04538
[maven-release-plugin] prepare release repo-1.10.7
rsandell Mar 3, 2017
dc5247e
[maven-release-plugin] prepare for next development iteration
rsandell Mar 3, 2017
cb54699
Change to 2.x parent pom
rsandell Jun 10, 2017
9ac9af8
Bump minimum core to last 1.x lts
rsandell Jun 10, 2017
9c7e81c
Add cleanup functionality
florent-vial May 23, 2017
8339a33
Merge pull request #49 from florent-vial/master
rsandell Jun 19, 2017
39d9fdf
Created Jenkinsfile
rsandell Jun 28, 2017
8502188
Findbugs fixes
rsandell Jun 29, 2017
46a7f48
Jenkinsfile run checkstyle and findbugs
rsandell Jun 30, 2017
4b0a854
Jenkinsfile run both jdk 7 and 8
rsandell Jun 30, 2017
2918089
Revert "Jenkinsfile run both jdk 7 and 8"
rsandell Jun 30, 2017
d0f9971
Fix problem with populating values from config when using pipeline
majje Dec 20, 2017
4b8b7a4
Merge branch 'master' of github.com:jenkinsci/repo-plugin into newpom
rsandell Apr 20, 2018
9e24ecf
Fix checkstyle
rsandell Apr 20, 2018
9ea3e06
checkstyle check during test phase
rsandell Apr 20, 2018
48755c7
Fix raw diff parsing
demett-brcm Sep 20, 2018
b831478
RepoScm: Allow setting extra environment variables
Sep 14, 2019
cf292c9
Fix crash when changelog is empty.
Sep 14, 2019
366faf8
Use HTTPS URLs in pom.xml
daniel-beck-bot Sep 20, 2019
a97966c
Merge pull request #55 from daniel-beck-bot/https-urls-pom
rsandell Sep 23, 2019
121240a
Merge pull request #50 from majje/master
rsandell Oct 18, 2019
63fd944
Merge pull request #51 from demett-brcm/master
rsandell Oct 18, 2019
3a519f0
Added support for --no-clone-bundle
peter-walls Oct 23, 2018
5df0ac5
Improve changelog formatting.
Sep 14, 2019
6b89ae4
Merge pull request #53 from qcspewa/master
rsandell Nov 15, 2019
0ab4aed
Merge branch 'master' into master
rsandell Nov 15, 2019
22092ab
Merge pull request #54 from Typz/master
rsandell Nov 15, 2019
2d02d33
Create release-drafter.yml
rsandell Nov 15, 2019
9d0e42a
[maven-release-plugin] prepare release repo-1.11.0
rsandell Nov 15, 2019
d7d657e
[maven-release-plugin] prepare for next development iteration
rsandell Nov 15, 2019
6a082da
JENKINS-59923: Replaced TagAction with new ManifestAction including d…
willi1s Nov 19, 2019
65d3648
Support submodules and fetchSubmodules flags
Nov 20, 2019
417e811
Support specify platform in repo init
Nov 20, 2019
386f3f1
Pass current-branch and no-tags to repo init as well
Nov 20, 2019
208ff09
Moved documentation from wiki to GitHub repo + modern Jenkins core de…
rsandell Nov 22, 2019
31395fd
Url to adoc not md
rsandell Nov 22, 2019
43ea1da
Merge pull request #59 from jenkinsci/docsmove
rsandell Nov 25, 2019
086a62d
[maven-release-plugin] prepare release repo-1.11.1
rsandell Nov 25, 2019
acbbae8
[maven-release-plugin] prepare for next development iteration
rsandell Nov 25, 2019
36ce451
Merge pull request #58 from Typz/repo-options
rsandell Dec 6, 2019
8cb8c29
[maven-release-plugin] prepare release repo-1.12.0
rsandell Dec 6, 2019
302d168
[maven-release-plugin] prepare for next development iteration
rsandell Dec 6, 2019
5b88e7b
JENKINS-59923: Replaced TagAction with new ManifestAction including d…
willi1s Nov 19, 2019
7c53413
JENKINS-59923: Restored the build history badge
Jan 10, 2020
e3bf4fd
Merge branch 'JENKINS-59923_manifest_action' of https://github.com/wi…
Jan 10, 2020
572ddac
Fix invalid platform flag issue
maksonlee Dec 9, 2019
5a9a9c9
Merge pull request #60 from maksonlee/fix-invalid-platform-flag-issue
rsandell Jan 24, 2020
c68374d
[maven-release-plugin] prepare release repo-1.12.1
rsandell Jan 24, 2020
b06f6f2
[maven-release-plugin] prepare for next development iteration
rsandell Jan 24, 2020
9714366
Merge pull request #57 from willi1s/JENKINS-59923_manifest_action
rsandell Jan 31, 2020
f2e743a
[maven-release-plugin] prepare release repo-1.12.2
rsandell Jan 31, 2020
ff8e80a
[maven-release-plugin] prepare for next development iteration
rsandell Jan 31, 2020
43f4b9e
Add support for repo-branch
gizmomogwai Feb 12, 2020
7edadec
Merge pull request #61 from gizmomogwai/master
rsandell Feb 21, 2020
1dfc783
[maven-release-plugin] prepare release repo-1.13.0
rsandell Feb 21, 2020
599f659
[maven-release-plugin] prepare for next development iteration
rsandell Feb 21, 2020
be57ac5
Fix displaying multiple manifests.
Apr 23, 2020
eab0595
Support changelog with shallow checkout
May 1, 2020
ff1cd0a
Support multiple checkouts in changelog.
Apr 23, 2020
07083b8
Display the "source" of manifest.
Apr 28, 2020
c19eef5
Remove unneeded configuration from buildPlugin
timja Jul 25, 2020
78be6d7
Merge pull request #62 from Typz/multiple-checkout
francoisferrand Sep 25, 2020
8df29d0
Merge pull request #63 from Typz/shallow-changelog
francoisferrand Sep 25, 2020
e60e998
Merge pull request #65 from timja/patch-1
francoisferrand Sep 25, 2020
732cb44
Add option to enable --worktree option to repo init
abioteau Aug 24, 2020
ed5bb7e
Merge pull request #66 from abioteau/master
francoisferrand Sep 29, 2020
6773451
Fix incorrect version update in pom
francoisferrand Sep 29, 2020
291dc3c
[maven-release-plugin] prepare release repo-1.14.0
francoisferrand Oct 20, 2020
db4d71f
[maven-release-plugin] prepare for next development iteration
francoisferrand Oct 20, 2020
7edc429
enable multithreading support when jobs was set
zwx168238-cats Dec 17, 2020
a7a8fea
Update pom.xml
abioteau Jun 9, 2021
84517ff
Update pom.xml
abioteau Jun 9, 2021
3da9753
Cleanup local manifest from a previous build before initializing work…
abioteau Jun 28, 2021
5288bf0
Merge pull request #73 from abioteau/bugfix-localmanifests
francoisferrand Jul 11, 2021
cb4f26b
Merge pull request #70 from zwx168238/master
francoisferrand Jul 11, 2021
1a115ca
Add buildEnvironment method to propagate information from SCM to builds
abioteau Jul 2, 2021
4e44fea
Update checkstyle
abioteau Jul 5, 2021
1a8ddb6
Add method to get current revision state
abioteau Nov 8, 2021
83c7c35
Update repo homepage url
abioteau Nov 25, 2021
f72f075
Propagate manifest url, branch and filename from SCM step
abioteau Nov 25, 2021
5f82dd4
Use default location for help files
abioteau Dec 21, 2021
30e4041
Move and update README
abioteau Dec 21, 2021
729f5c5
Merge pull request #74 from abioteau/feature-buildenv
francoisferrand Dec 22, 2021
56ab5f4
Fix broken jenkins plugin documentation
abioteau Mar 11, 2022
5acc38b
Merge pull request #80 from abioteau/bugfix/broken-doc
francoisferrand Mar 11, 2022
3c8e623
“SECURITY-2478”
Pldi23 May 4, 2022
b41020c
[maven-release-plugin] prepare release repo-1.15.0
Pldi23 May 4, 2022
4d5fc88
[maven-release-plugin] prepare for next development iteration
Pldi23 May 4, 2022
bf0ee24
Fix missing of manifest after restart Jenkins instance.
maksonlee Jul 8, 2022
af8e276
Fix broken maniifest icon.
maksonlee Jul 9, 2022
5cd850d
Add static manifest into environment variables when we can.
maksonlee Jul 11, 2022
9c60e2f
Merge pull request #84 from maksonlee/add-static-manifest-into-enviro…
francoisferrand Sep 13, 2022
bb68ed4
Merge pull request #82 from maksonlee/fix-missing-of-manifest-after-r…
francoisferrand Sep 13, 2022
326c5e6
Merge pull request #83 from maksonlee/fix-broken-maniifest-icon
francoisferrand Sep 13, 2022
4c4a72c
[SECURITY-2337]
rsandell Oct 14, 2022
14ca344
[maven-release-plugin] prepare release repo-1.16.0
rsandell Oct 14, 2022
17703c9
[maven-release-plugin] prepare for next development iteration
rsandell Oct 14, 2022
30fe94b
Create release-drafter.yml
rsandell Oct 19, 2022
59bf3b7
Pass no-repo-verify also to repo sync if needed
kateyy Dec 23, 2022
99a7e56
Support syncing repositories that utilize Git LFS
AKoskovich Dec 16, 2023
2dee4ac
Migrate legacy checkUrl attribute in RepoScm/global.jelly
shlomomdahan Dec 19, 2024
991d35d
feat(java): Require Jenkins core 2.492.3 and Java 17
gounthar Jun 24, 2025
543a63d
Merge pull request #89 from shlomomdahan/JENKINS-74132
rsandell Dec 28, 2025
fece047
Merge pull request #91 from gounthar/plugin-modernizer/upgradenextmaj…
rsandell Dec 28, 2025
c491415
Merge pull request #88 from AKoskovich/git-lfs
rsandell Dec 28, 2025
f29c715
Merge pull request #85 from kateyy/fix-sync-no-repo-verify
rsandell Dec 28, 2025
cd798a5
Update Jenkinsfile to use JDK 17 and 25
rsandell Dec 28, 2025
07bed5b
Update JDK version from 25 to 21 in Jenkinsfile
rsandell Dec 29, 2025
31de5aa
Add option: noSync, to run repo init without sync option to intialize…
RomanR-dev Dec 29, 2025
c04dc25
[maven-release-plugin] prepare release repo-1.17.0
rsandell Dec 29, 2025
a873f7e
[maven-release-plugin] prepare for next development iteration
rsandell Dec 29, 2025
8440a82
[maven-release-plugin] prepare release repo-1.17.0-r2
rsandell Dec 29, 2025
f4fed02
[maven-release-plugin] prepare for next development iteration
rsandell Dec 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
_extends: .github
version-template: $MAJOR.$MINOR.$PATCH
tag-template: repo-$NEXT_PATCH_VERSION
name-template: Repo SCM Plugin $NEXT_PATCH_VERSION
17 changes: 17 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Note: additional setup is required, see https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc

name: Release Drafter

on:
push:
branches:
- "master"

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into the default branch
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ work
.classpath
.project
.settings
*.iml
.idea
4 changes: 4 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildPlugin(useContainerAgent: true, timeout: 180, configurations: [
[platform: 'linux', jdk: 21],
[platform: 'linux', jdk: 17],
])
5 changes: 5 additions & 0 deletions KNOWN_BUGS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Known bugs
==========

Manually building a project with no changes, will cause a
"failed to determine" changes in the build result.
1 change: 1 addition & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
The MIT License

Copyright (c) 2012-, Bjarke Freund-Hansen
Copyright (c) 2011-, Brad Larson

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
210 changes: 210 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,210 @@
[[Repo-plugin]]
= Repo Plugin

image:https://img.shields.io/jenkins/plugin/v/repo.svg[link="https://plugins.jenkins.io/repo"]
image:https://img.shields.io/github/release/jenkinsci/repo-plugin.svg?label=changelog[link="https://github.com/jenkinsci/repo-plugin/releases/latest"]
image:https://img.shields.io/jenkins/plugin/i/repo.svg?color=blue[link="https://plugins.jenkins.io/repo"]

This plugin adds https://gerrit.googlesource.com/git-repo[Repo] as an SCM provider in Jenkins.

*This plugin is up for adoption.* Want to help improve this plugin?
https://wiki.jenkins.io/display/JENKINS/Adopt+a+Plugin[Click here to
learn more]!

:toc: preamble
:toclevels: 3

[[RepoPlugin-Description]]
== 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.

[[RepoPlugin-Pipelines]]
== Pipelines

The repo plugin provides an SCM implementation to be used with the Pipeline SCM link:https://www.jenkins.io/doc/pipeline/steps/workflow-scm-step/[`checkout` step].

The link:https://www.jenkins.io/redirect/pipeline-snippet-generator[Pipeline Syntax Snippet Generator] guides the user to select checkout options.

[[RepoPlugin-EnvironmentVariables]]
=== 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).

[[RepoPlugin-Changelog]]
== Changelog

As of version 1.11.0 the changelog is moved to https://github.com/jenkinsci/repo-plugin/releases/[GitHub Releases]

[[RepoPlugin-Version1.10.7-Mar3,2017]]
=== Version 1.10.7 - Mar 3, 2017

* Update URLs to valid locations in help html.
(https://github.com/jenkinsci/repo-plugin/pull/43[pull #43])
* Support for evaluating $\{param} in destination dir.
(https://github.com/jenkinsci/repo-plugin/pull/44[pull #44])
* Fix --force-sync help description.
(https://github.com/jenkinsci/repo-plugin/pull/45[pull #45])

[[RepoPlugin-Version1.10.6-Jan10,2017]]
=== Version 1.10.6 - Jan 10, 2017

* Use local_manifests/local.xml rather than local_manifest.xml.
(https://github.com/jenkinsci/repo-plugin/pull/42[pull #42])

[[RepoPlugin-Version1.10.5-Nov30,2016]]
=== Version 1.10.5 - Nov 30, 2016

* https://issues.jenkins-ci.org/browse/JENKINS-40114[JENKINS-40114]
Fixed. (https://github.com/jenkinsci/repo-plugin/pull/41[pull #41])

[[RepoPlugin-Version1.10.4-Nov29,2016]]
=== Version 1.10.4 - Nov 29, 2016

* Fixex typos in local manifest help.
(https://github.com/jenkinsci/repo-plugin/pull/37[pull #37])
* https://issues.jenkins-ci.org/browse/JENKINS-36703[JENKINS-36703]
Fixed polling behaviour.
(https://github.com/jenkinsci/repo-plugin/pull/38[pull #38])
* Fixed some repo commands.
(https://github.com/jenkinsci/repo-plugin/pull/39[pull #39])

[[RepoPlugin-Version1.10.3-Aug18,2016]]
=== Version 1.10.3 - Aug 18, 2016

* https://issues.jenkins-ci.org/browse/JENKINS-37416[JENKINS-37416]
Expand local manifest.
(https://github.com/jenkinsci/repo-plugin/pull/36[pull #36])

[[RepoPlugin-Version1.10.2-Jul13,2016]]
=== Version 1.10.2 - Jul 13, 2016

* https://issues.jenkins-ci.org/browse/JENKINS-36644[JENKINS-36644] Fix
Tag action is not working in pipeline job.
(https://github.com/jenkinsci/repo-plugin/pull/35[pull #35])
* https://issues.jenkins-ci.org/browse/JENKINS-33958[JENKINS-33958] Fix
changelog hang when used with pipeline.
(https://github.com/jenkinsci/repo-plugin/pull/34[pull #34])

[[RepoPlugin-Version1.10.1-Jul11,2016]]
=== Version 1.10.1 - Jul 11, 2016

* https://issues.jenkins-ci.org/browse/JENKINS-14539[JENKINS-14539] Fix
issue with Email Ext plugin - full name was returned instead of email.
(https://github.com/jenkinsci/repo-plugin/pull/33[pull #33])

[[RepoPlugin-Version1.10.0-Feb22,2015]]
=== Version 1.10.0 - Feb 22, 2015

* Adding an option to ignore specific projects on scm poll.
(https://github.com/jenkinsci/repo-plugin/pull/31[pull #31])

[[RepoPlugin-Version1.9.0-Jan21,2015]]
=== Version 1.9.0 - Jan 21, 2015

* Support for
https://wiki.jenkins.io/display/JENKINS/Pipeline+Plugin[Pipeline Plugin]
(https://github.com/jenkinsci/repo-plugin/pull/28[pull #28])

[[RepoPlugin-Version1.8.0-Sept25th,2015]]
=== Version 1.8.0 - Sept 25th, 2015

* --force-sync (https://github.com/jenkinsci/repo-plugin/pull/26[pull
#26])
* --no-tags (https://github.com/jenkinsci/repo-plugin/pull/27[pull #27])

[[RepoPlugin-Version1.7.1-May6th,2015]]
=== Version 1.7.1 - May 6th, 2015

* Fix some options can't be shown properly in configuration page
(https://github.com/jenkinsci/repo-plugin/pull/25[pull #25])

[[RepoPlugin-Version1.7-Apr23rd,2015]]
=== Version 1.7 - Apr 23rd, 2015

* Support for shallow clones, option to reset the repo before syncing
(https://github.com/jenkinsci/repo-plugin/pull/20[pull #20])
* Fixed
https://issues.jenkins-ci.org/browse/JENKINS-17913[JENKINS-17913] Expand
manifest file and URL.
(https://github.com/jenkinsci/repo-plugin/pull/21[pull #21])
* Added --trace option.
(https://github.com/jenkinsci/repo-plugin/pull/22[pull #22])
* Fixed
https://issues.jenkins-ci.org/browse/JENKINS-23262[JENKINS-23262]
(https://github.com/jenkinsci/repo-plugin/pull/22[pull #22])
* Added option for --first-parent in changelog.
(https://github.com/jenkinsci/repo-plugin/pull/23[pull #23])

[[RepoPlugin-Version1.6-Nov19th,2013]]
=== Version 1.6 - Nov 19th, 2013

* Allow parameters in repo branch name
(https://issues.jenkins-ci.org/browse/JENKINS-17913[issue #20])
* Fixed a bug where a poll compared the current workspace and polled
branch incorrectly.
* Improved git log

[[RepoPlugin-Version1.5-April23th,2013]]
=== Version 1.5 - April 23th, 2013

* Support for repo init -g
* Support for repo init --repo-url
* Parent pom updated to jenkins 1.424

[[RepoPlugin-Version1.3-November19th,2012]]
=== 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() (https://issues.jenkins-ci.org/browse/JENKINS-14926[issue
#14926]).
* Allow localManifest to be specified either literally or as an URL.

[[RepoPlugin-Version1.2.1-April23rd,2012]]
=== Version 1.2.1 - April 23rd, 2012

* Fix : Jobs using repo plugin do not persist
(https://issues.jenkins-ci.org/browse/JENKINS-12466[JENKINS-12466])
* Fix : Fixed NPE in RevisionState.hashCode()

[[RepoPlugin-Version1.2]]
=== 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 https://github.com/tgover1[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 https://github.com/tgover1[tgover].

[[RepoPlugin-Version1.1]]
=== 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
https://github.com/tgover1[tgover].

Add support to specify the name of the manifest file to use. Thanks to
https://github.com/farshidce[farshidce].

[[RepoPlugin-Version1.0]]
=== Version 1.0

Initial Release
12 changes: 0 additions & 12 deletions README.txt

This file was deleted.

8 changes: 7 additions & 1 deletion ROADMAP
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
Future features roadmap (Mostly from Sony Ericson)
Future features roadmap
=======================

Roughly in order of priority. I have no solid plans to work on any of these,
but if you'd like to make any contributions, this list is a good place to
start!

Investigate usage of ToolInstaller
Automagically fetch repo from a URL, put it in the workspace and
put that dir in the PATH for the current build. Such that it is
not necessary to install repo manually on all your slaves.

Wipe workspace option? (Follow git plugin here)
Badge/Tag support

Gerrit-Download integration (Gerrit Trigger plugin support)
Better auto-retry logic

Support smartsync (-s option)

18 changes: 12 additions & 6 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
-->
<!--
Checkstyle-Configuration: Repo Checkstyle
Description:
Description:
Checkstyle configuration that checks coding conventions.
-->
<module name="Checker">
Expand Down Expand Up @@ -41,10 +41,15 @@ Checkstyle configuration that checks coding conventions.
<module name="IllegalImport"/>
<module name="RedundantImport"/>
<module name="UnusedImports"/>
<module name="MethodLength"/>
<module name="ParameterNumber"/>
<module name="MethodLength">
<property name="max" value="160"/>
</module>
<module name="ParameterNumber">
<property name="max" value="16"/>
</module>
<module name="LineLength">
<property name="tabWidth" value="4"/>
<property name="max" value="100"/>
</module>
<module name="EmptyForIteratorPad"/>
<module name="MethodParamPad"/>
Expand All @@ -66,7 +71,7 @@ Checkstyle configuration that checks coding conventions.
<property name="severity" value="ignore"/>
<metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
</module>
<module name="DoubleCheckedLocking"/>
<!--<module name="DoubleCheckedLocking"/>-->
<module name="EmptyStatement"/>
<module name="EqualsHashCode"/>
<module name="HiddenField">
Expand All @@ -80,9 +85,9 @@ Checkstyle configuration that checks coding conventions.
<metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
</module>
<module name="MissingSwitchDefault"/>
<module name="RedundantThrows">
<!--<module name="RedundantThrows">
<property name="suppressLoadErrors" value="true"/>
</module>
</module>-->
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>
<module name="DesignForExtension">
Expand Down Expand Up @@ -120,6 +125,7 @@ Checkstyle configuration that checks coding conventions.
<property name="severity" value="error"/>
<property name="header" value="/*\n * The MIT License\n *\n * Copyright (c)\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the &quot;Software&quot;), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n"/>
<property name="ignoreLines" value="4"/>
<property name="fileExtensions" value="java"/>
</module>
<module name="SuppressWithNearbyCommentFilter">
<property name="commentFormat" value="CS IGNORE (\w+) FOR NEXT (\d+) LINES\. REASON\: \w+"/>
Expand Down
Loading