Skip to content

Commit 0d388fc

Browse files
authored
[JENKINS-75162] Fix fragment identifiers to plugins.jenkins.io content (#1711)
The previous fragment identifiers in the documentation links no longer exist in the plugins.jenkins.io page content. Use fragment identifiers that exist so that a click of the link takes the reader to the correct location in the page content. Partial fix of https://issues.jenkins.io/browse/JENKINS-75162
1 parent bfab489 commit 0d388fc

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ Other credential types will not work with the ssh protocol.
294294
To minimize the delay between a push and a build, configure the remote repository to use a Webhook to notify Jenkins of changes to the repository.
295295
Refer to webhook documentation for your repository:
296296

297-
* link:https://plugins.jenkins.io/github#GitHubPlugin-GitHubhooktriggerforGITScmpolling[GitHub]
297+
* link:https://plugins.jenkins.io/github/#plugin-content-github-hook-trigger-for-gitscm-polling[GitHub]
298298
* link:https://plugins.jenkins.io/bitbucket[Bitbucket]
299299
* link:https://plugins.jenkins.io/gitlab-branch-source[GitLab]
300300
* link:https://github.com/jenkinsci/gitea-plugin/blob/master/docs/README.md[Gitea]
@@ -364,7 +364,7 @@ hudson.plugins.git.GitStatus.NOTIFY_COMMIT_ACCESS_CONTROL='disabled-for-polling'
364364
[#enabling-jgit]
365365
=== Enabling JGit
366366

367-
See the link:https://plugins.jenkins.io/git-client/#enabling-jgit[git client plugin documentation] for instructions to enable JGit.
367+
See the link:https://plugins.jenkins.io/git-client/#plugin-content-enabling-jgit[git client plugin documentation] for instructions to enable JGit.
368368
JGit becomes available throughout Jenkins once it has been enabled.
369369

370370
[#global-configuration]

src/main/java/hudson/plugins/git/GitSCM.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ public EnvVars getEnvironment() {
11651165
buildData.saveBuild(revToBuild);
11661166

11671167
if (buildData.getBuildsByBranchName().size() >= 100) {
1168-
log.println("JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script");
1168+
log.println("JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#plugin-content-remove-git-plugin-buildsbybranch-builddata-script");
11691169
}
11701170
boolean checkForMultipleRevisions = true;
11711171
BuildSingleRevisionOnly ext = extensions.get(BuildSingleRevisionOnly.class);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</p>
4242
<p>
4343
The <code>checkout</code> step can be used in many cases where the <code>git</code> step cannot be used.
44-
Refer to the <a href="https://plugins.jenkins.io/git#extensions">git plugin documentation</a> for detailed descriptions of options available to the checkout step.
44+
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.
4545
For example, the <code>checkout</code> step supports:
4646
<ul>
4747
<li>SHA-1 checkout</li>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</p>
3535
<p>
3636
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#extensions">git plugin documentation</a> for detailed descriptions of options available to the checkout step.
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.
3838
For example, the <code>git</code> step does <strong>not</strong> support:
3939
<ul>
4040
<li>SHA-1 checkout</li>

0 commit comments

Comments
 (0)