Skip to content

Commit

Permalink
[JENKINS-75162] Fix fragment identifiers to plugins.jenkins.io content (
Browse files Browse the repository at this point in the history
jenkinsci#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
  • Loading branch information
MarkEWaite authored Jan 19, 2025
1 parent bfab489 commit 0d388fc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ Other credential types will not work with the ssh protocol.
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.
Refer to webhook documentation for your repository:

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

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

[#global-configuration]
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/git/GitSCM.java
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ public EnvVars getEnvironment() {
buildData.saveBuild(revToBuild);

if (buildData.getBuildsByBranchName().size() >= 100) {
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");
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");
}
boolean checkForMultipleRevisions = true;
BuildSingleRevisionOnly ext = extensions.get(BuildSingleRevisionOnly.class);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/hudson/plugins/git/GitSCM/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</p>
<p>
The <code>checkout</code> step can be used in many cases where the <code>git</code> step cannot be used.
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.
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.
For example, the <code>checkout</code> step supports:
<ul>
<li>SHA-1 checkout</li>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/jenkins/plugins/git/GitStep/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</p>
<p>
The <code>checkout</code> step can be used in many cases where the <code>git</code> step cannot be used.
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.
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.
For example, the <code>git</code> step does <strong>not</strong> support:
<ul>
<li>SHA-1 checkout</li>
Expand Down

0 comments on commit 0d388fc

Please sign in to comment.