From 9fa65a19d94e90fdde7e127828061ebd35717829 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Thu, 31 Aug 2023 20:47:33 -0600 Subject: [PATCH] Use a working git:// protocol example (#1503) https://github.blog/2021-09-01-improving-git-protocol-security-github/ announced the removal of the git:// protocol from GitHub. Change the documentation to use a provider that still supports unauthenticated git:// protocol. --- src/main/resources/hudson/plugins/git/GitSCM/help.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/hudson/plugins/git/GitSCM/help.html b/src/main/resources/hudson/plugins/git/GitSCM/help.html index d72a79b356..bd862427ca 100644 --- a/src/main/resources/hudson/plugins/git/GitSCM/help.html +++ b/src/main/resources/hudson/plugins/git/GitSCM/help.html @@ -117,7 +117,7 @@ Example: Checkout step with git protocol and polling disabled

- Checkout from the Jenkins platform labeler repository using git protocol, no credentials, the master branch, and no polling for changes. + Checkout from the command line git repository using git protocol, no credentials, the master branch, and no polling for changes. If poll is false, then the remote repository will not be polled for changes. If poll is true or is not set, then the remote repository will be polled for changes. See the workflow scm step documentation for more polling details. @@ -125,7 +125,7 @@

 checkout poll: false,
          scmGit(userRemoteConfigs: [
-                    [ url: 'git://github.com/jenkinsci/platformlabeler-plugin' ]
+                    [ url: 'git://git.kernel.org/pub/scm/git/git.git ]
                 ])