diff --git a/src/main/resources/jenkins/plugins/git/GitStep/help.html b/src/main/resources/jenkins/plugins/git/GitStep/help.html index b057c30617..d84acba0ee 100644 --- a/src/main/resources/jenkins/plugins/git/GitStep/help.html +++ b/src/main/resources/jenkins/plugins/git/GitStep/help.html @@ -19,8 +19,8 @@

The git step is a simplified shorthand for a subset of the more powerful checkout step:

-checkout([$class: 'GitSCM', branches: [[name: '*/master']],
-    userRemoteConfigs: [[url: 'https://git-server/user/repository.git']]])
+checkout scmGit(branches: [[name: 'main]],
+    userRemoteConfigs: [[url: 'https://git-server/user/repository.git']])
 

diff --git a/src/main/resources/jenkins/plugins/git/GitStep/help_ja.html b/src/main/resources/jenkins/plugins/git/GitStep/help_ja.html index d43618a316..5bdb436fa5 100644 --- a/src/main/resources/jenkins/plugins/git/GitStep/help_ja.html +++ b/src/main/resources/jenkins/plugins/git/GitStep/help_ja.html @@ -3,9 +3,11 @@ Gitステップです。 指定したリポジトリからクローンを実行します。

- このステップは、一般的なSCMのステップである -checkout([$class: 'GitSCM', branches: [[name: '*/master']], - userRemoteConfigs: [[url: 'https://git-server/user/repository.git']]]) + このステップは、一般的なSCMのステップである +

+checkout scmGit(branches: [[name: 'main]],
+    userRemoteConfigs: [[url: 'https://git-server/user/repository.git']])
+
  の短縮形です。