Skip to content

Commit 214e3d5

Browse files
committed
Merge branch 'master' into test-jgit-7.2
2 parents b087db2 + 2a070fd commit 214e3d5

File tree

4 files changed

+16
-31
lines changed

4 files changed

+16
-31
lines changed

pom.xml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.jenkins-ci.plugins</groupId>
77
<artifactId>plugin</artifactId>
8-
<version>5.9</version>
8+
<version>5.10</version>
99
<relativePath />
1010
</parent>
1111

@@ -41,7 +41,7 @@
4141
<no-test-jar>false</no-test-jar>
4242
<!-- Jenkins.MANAGE is still in Beta -->
4343
<useBeta>true</useBeta>
44-
<!-- Do not run extra reporting for checkstyle or pmd -->
44+
<!-- Do not run extra reporting for pmd -->
4545
<!-- https://stackoverflow.com/questions/12038238/unable-to-locate-source-xref-to-link-to -->
4646
<linkXRef>false</linkXRef>
4747
<spotbugs.effort>Max</spotbugs.effort>
@@ -53,7 +53,7 @@
5353
<dependency>
5454
<groupId>io.jenkins.tools.bom</groupId>
5555
<artifactId>bom-${jenkins.baseline}.x</artifactId>
56-
<version>4440.v39a_9eb_b_c6b_4d</version>
56+
<version>4607.v67a_4791074d7</version>
5757
<type>pom</type>
5858
<scope>import</scope>
5959
</dependency>
@@ -150,7 +150,7 @@
150150
<dependency>
151151
<groupId>nl.jqno.equalsverifier</groupId>
152152
<artifactId>equalsverifier</artifactId>
153-
<version>3.19.2</version>
153+
<version>3.19.3</version>
154154
<scope>test</scope>
155155
</dependency>
156156
<dependency>
@@ -258,18 +258,4 @@
258258
</pluginRepository>
259259
</pluginRepositories>
260260

261-
<build>
262-
<plugins>
263-
<plugin>
264-
<groupId>org.apache.maven.plugins</groupId>
265-
<artifactId>maven-checkstyle-plugin</artifactId>
266-
<version>3.6.0</version>
267-
<configuration>
268-
<configLocation>google_checks.xml</configLocation>
269-
<failOnViolation>true</failOnViolation>
270-
</configuration>
271-
</plugin>
272-
</plugins>
273-
</build>
274-
275261
</project>

src/main/resources/hudson/plugins/git/GitSCM/help.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
<pre>
126126
checkout poll: false,
127127
scmGit(userRemoteConfigs: [
128-
[ url: 'git://git.kernel.org/pub/scm/git/git.git ]
128+
[ url: 'git://git.kernel.org/pub/scm/git/git.git' ]
129129
])
130130
</pre>
131131
</p>
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<div>
22
Git plugin uses git ls-remote polling mechanism by default when configured with a single branch (no wildcards!).
3-
This compare the latest built commit SHA with the remote branch without cloning a local copy of the repo.<br><br>
4-
If you don't want to / can't use this.<br><br>
3+
This compares the most recently built commit SHA with the remote branch without cloning a local copy of the repo.<br><br>
54
If this option is selected, polling will require a workspace and might trigger unwanted builds (see <a href="https://issues.jenkins.io/browse/JENKINS-10131" target="_blank" rel="noopener noreferrer">JENKINS-10131</a>).
65
</div>

src/main/resources/jenkins/plugins/git/GitStep/help.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<div>
22
<p>
3-
Git step. It performs a clone from the specified repository.
3+
The <code>git</code> step performs a clone from the specified repository into a Pipeline workspace.
44
</p>
55
<p>
66
Use the <a href="https://www.jenkins.io/redirect/pipeline-snippet-generator">Pipeline Syntax Snippet Generator</a> to generate a sample pipeline script for the git step.
7-
More advanced checkout operations require the <code>checkout</code> step rather than the <code>git</code> step.
7+
More advanced checkout operations require the <a href="https://www.jenkins.io/doc/pipeline/steps/params/scmgit/"><code>checkout</code> step</a> rather than the <code>git</code> step.
88
Examples of the <code>git</code> step include:
99
<ul>
1010
<li><a href="#git-step-with-defaults">Git step with defaults</a></li>
@@ -17,7 +17,7 @@
1717
</p>
1818

1919
<p>
20-
The <code>git</code> step is a simplified shorthand for a subset of the more powerful <code>checkout</code> step:
20+
The <code>git</code> step is a simplified shorthand for a subset of the more powerful <a href="https://www.jenkins.io/doc/pipeline/steps/params/scmgit/"><code>checkout</code> step</a>:
2121
<pre>
2222
checkout scmGit(branches: [[name: 'main']],
2323
userRemoteConfigs: [[url: 'https://git-server/user/repository.git']])
@@ -27,14 +27,14 @@
2727
<hr>
2828

2929
<p>
30-
<strong>NOTE:</strong> The <code>checkout</code> step is the <strong>preferred SCM checkout method</strong>.
30+
<strong>NOTE:</strong> The <a href="https://www.jenkins.io/doc/pipeline/steps/params/scmgit/"><code>checkout</code> step</a> is the <strong>preferred SCM checkout method</strong>.
3131
It provides significantly more functionality than the <code>git</code> step.
3232
</p>
3333
<p>Use the <a href="https://www.jenkins.io/redirect/pipeline-snippet-generator">Pipeline Syntax Snippet Generator</a> to generate a sample pipeline script for the checkout step.
3434
</p>
3535
<p>
36-
The <code>checkout</code> step can be used in many cases where the <code>git</code> step cannot be used.
37-
Refer to the <a href="https://plugins.jenkins.io/git/#plugin-content-extensions">git plugin documentation</a> for detailed descriptions of options available to the checkout step.
36+
The <a href="https://www.jenkins.io/doc/pipeline/steps/params/scmgit/"><code>checkout</code> step</a> can be used in many cases where the <code>git</code> step cannot be used.
37+
Refer to the <a href="https://plugins.jenkins.io/git/#plugin-content-extensions">git plugin documentation</a> for detailed descriptions of options available to the <a href="https://www.jenkins.io/doc/pipeline/steps/params/scmgit/"><code>checkout</code> step</a>.
3838
For example, the <code>git</code> step does <strong>not</strong> support:
3939
<ul>
4040
<li>SHA-1 checkout</li>
@@ -59,13 +59,13 @@
5959
Checkout from the git plugin source repository using https protocol, no credentials, and the master branch.
6060
</p><p>The <a href="https://www.jenkins.io/redirect/pipeline-snippet-generator">Pipeline Syntax Snippet Generator</a> generates this example:
6161
<pre>
62-
git 'https://github.com/jenkinsci/git-plugin'
62+
git 'https://github.com/jenkinsci/git-plugin.git'
6363
</pre>
6464
</p>
6565

6666
<strong><a id="git-step-with-https-and-branch">Example: Git step with https and a specific branch</a></strong>
6767
<p>
68-
Checkout from the Jenkins source repository using https protocol, no credentials, and a specific branch (stable-2.204).
68+
Checkout from the Jenkins source repository using https protocol, no credentials, and a specific branch (stable-2.492).
6969
Note that this must be a local branch name like 'master' or 'develop'.
7070
</p>
7171
<p>
@@ -76,11 +76,11 @@
7676
<li>Tag names are <strong>not supported</strong> as the branch argument</li>
7777
</ul>
7878
<p>
79-
Remote branch names, SHA-1 hashes, and tag names <strong>are supported</strong> by the general purpose <code>checkout</code> step.
79+
Remote branch names, SHA-1 hashes, and tag names <strong>are supported</strong> by the general purpose <a href="https://www.jenkins.io/doc/pipeline/steps/params/scmgit/"><code>checkout</code> step</a>.
8080
</p>
8181
<p>The <a href="https://www.jenkins.io/redirect/pipeline-snippet-generator">Pipeline Syntax Snippet Generator</a> generates this example:
8282
<pre>
83-
git branch: 'stable-2.204',
83+
git branch: 'stable-2.492',
8484
url: 'https://github.com/jenkinsci/jenkins.git'
8585
</pre>
8686
</p>

0 commit comments

Comments
 (0)