-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
The help.html file and help_ja.html file currently contain a syntax error in the checkout scmGit example. The code snippet is written as:
checkout scmGit(branches: [[name: 'main]],
userRemoteConfigs: [[url: 'https://git-server/user/repository.git']])
However, the correct syntax should include the missing closing bracket for the branches list. It should be written as:
checkout scmGit(branches: [[name: 'main']], userRemoteConfigs: [[url: 'https://git-server/user/repository.git']])
I fix it, GitHub PR
Originally reported by ruyut, imported from: Fix syntax error in checkout scmGit example in help
- assignee: ruyut
- status: Fixed but Unreleased
- priority: Minor
- component(s): git-plugin
- label(s): git, plugin
- resolution: Fixed
- resolved: 2025-02-20T11:53:41+00:00
- votes: 0
- watchers: 1
- imported: 2025-12-02
Raw content of original issue
The help.html file and help_ja.html file currently contain a syntax error in the checkout scmGit example. The code snippet is written as:
checkout scmGit(branches: [[name: 'main]], userRemoteConfigs: [[url: 'https://git-server/user/repository.git']])However, the correct syntax should include the missing closing bracket for the branches list. It should be written as:
checkout scmGit(branches: [[name: 'main']], userRemoteConfigs: [[url: 'https://git-server/user/repository.git']])I fix it, GitHub PR
Reactions are currently unavailable