Skip to content

Commit 9c4cf41

Browse files
authored
Merge branch 'master' into master
2 parents e80a83b + a28e5ce commit 9c4cf41

File tree

108 files changed

+2270
-1139
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+2270
-1139
lines changed

.dependabot/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 1
2+
3+
update_configs:
4+
- package_manager: "java:maven"
5+
directory: "/"
6+
update_schedule: "weekly"
7+
target_branch: "stable-3.x"
8+
default_reviewers:
9+
- "MarkEWaite"
10+
default_labels:
11+
- "no-changelog"

.github/pull_request_template.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,23 @@ If it fixes a bug or resolves a feature request, include a link to the issue.
55

66
## Checklist
77

8-
_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. This is simply a reminder of what we are going to look for before merging your code._
8+
_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. This is simply a reminder of what we are going to look for before merging your code. If a checkbox or line does not apply to this pull request, delete it. We prefer all checkboxes to be checked before a pull request is merged_
99

1010
- [ ] I have read the [CONTRIBUTING](https://github.com/jenkinsci/git-plugin/blob/master/CONTRIBUTING.md) doc
1111
- [ ] I have referenced the Jira issue related to my changes in one or more commit messages
1212
- [ ] I have added tests that verify my changes
1313
- [ ] Unit tests pass locally with my changes
1414
- [ ] I have added documentation as necessary
1515
- [ ] No Javadoc warnings were introduced with my changes
16-
- [ ] No findbugs warnings were introduced with my changes
16+
- [ ] No spotbugs warnings were introduced with my changes
1717
- [ ] I have interactively tested my changes
1818
- [ ] Any dependent changes have been merged and published in upstream modules (like git-client-plugin)
1919

2020
## Types of changes
2121

22-
What types of changes does your code introduce? _Put an `x` in the boxes that apply_
22+
What types of changes does your code introduce? _Put an `x` in the boxes that apply. Delete the items in the list that do *not* apply_
2323

24+
- [ ] Dependency or infrastructure update
2425
- [ ] Bug fix (non-breaking change which fixes an issue)
2526
- [ ] New feature (non-breaking change which adds functionality)
2627
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

.github/release-drafter.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_extends: .github
2+
tag-template: git-$NEXT_PATCH_VERSION
3+
version-template: $MAJOR.$MINOR.$PATCH

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Contributing to the Git Plugin
22
==============================
33

44
The git plugin implements the [Jenkins SCM API](https://plugins.jenkins.io/scm-api).
5-
Refer to the SCM API documentation for [plugin naming conventions]https://github.com/jenkinsci/scm-api-plugin/blob/master/docs/implementation.adoc#naming-your-plugin(),
5+
Refer to the SCM API documentation for [plugin naming conventions](https://github.com/jenkinsci/scm-api-plugin/blob/master/docs/implementation.adoc#naming-your-plugin),
66
and for the [preferred locations of new functionality](https://github.com/jenkinsci/scm-api-plugin/blob/master/CONTRIBUTING.md#add-to-core-or-create-extension-plugin).
77

88
Plugin source code is hosted on [GitHub](https://github.com/jenkinsci/git-plugin).
@@ -21,9 +21,9 @@ Code coverage reporting is available as a maven target.
2121
Please try to improve code coverage with tests when you submit.
2222
* `mvn -P enable-jacoco clean install jacoco:report` to report code coverage
2323

24-
Please don't introduce new findbugs output.
25-
* `mvn findbugs:check` to analyze project using [Findbugs](http://findbugs.sourceforge.net/)
26-
* `mvn findbugs:gui` to review Findbugs report using GUI
24+
Please don't introduce new spotbugs output.
25+
* `mvn spotbugs:check` to analyze project using [Spotbugs](https://spotbugs.github.io/)
26+
* `mvn spotbugs:gui` to review Findbugs report using GUI
2727

2828
Code formatting in the git plugin varies between files. Try to
2929
maintain reasonable consistency with the existing files where

Jenkinsfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
#!groovy
22

3-
// Test plugin compatibility to recent Jenkins LTS
3+
// Test plugin compatibility to recommended configurations
44
// Allow failing tests to retry execution
5-
buildPlugin(configurations: buildPlugin.recommendedConfigurations(),
6-
findbugs: [run:true, archive:true, unstableTotalAll: '0'],
7-
failFast: false)
5+
subsetConfiguration = [ [ jdk: '8', platform: 'windows', jenkins: null ],
6+
[ jdk: '8', platform: 'linux', jenkins: '2.164.1', javaLevel: '8' ],
7+
[ jdk: '11', platform: 'linux', jenkins: '2.164.1', javaLevel: '8' ]
8+
]
9+
10+
buildPlugin(configurations: subsetConfiguration, failFast: false)
811

912
def branches = [:]
1013

0 commit comments

Comments
 (0)