-
Bug
-
Resolution: Fixed
-
Minor
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
[JENKINS-75311] Fix syntax error in checkout scmGit example in help
Description |
Original:
The help.html file currently contains a syntax error in the checkout scmGit example. The code snippet is written as:
{code:java} checkout scmGit(branches: [[name: 'main]], userRemoteConfigs: [[url: 'https://git-server/user/repository.git']]) {code} However, the correct syntax should include the missing closing bracket for the branches list. It should be written as: {code:java} checkout scmGit(branches: [[name: 'main']], userRemoteConfigs: [[url: 'https://git-server/user/repository.git']]){code} |
New:
The help.html file currently contains a syntax error in the checkout scmGit example. The code snippet is written as:
{code:java} checkout scmGit(branches: [[name: 'main]], userRemoteConfigs: [[url: 'https://git-server/user/repository.git']]) {code} However, the correct syntax should include the missing closing bracket for the branches list. It should be written as: {code:java} checkout scmGit(branches: [[name: 'main']], userRemoteConfigs: [[url: 'https://git-server/user/repository.git']]){code} I fix it, [GitHub PR|https://github.com/jenkinsci/git-plugin/pull/1723] |
Summary | Original: Fix syntax error in checkout scmGit example in help.html | New: Fix syntax error in checkout scmGit example in help_ja.html |
Description |
Original:
The help.html file currently contains a syntax error in the checkout scmGit example. The code snippet is written as:
{code:java} checkout scmGit(branches: [[name: 'main]], userRemoteConfigs: [[url: 'https://git-server/user/repository.git']]) {code} However, the correct syntax should include the missing closing bracket for the branches list. It should be written as: {code:java} checkout scmGit(branches: [[name: 'main']], userRemoteConfigs: [[url: 'https://git-server/user/repository.git']]){code} I fix it, [GitHub PR|https://github.com/jenkinsci/git-plugin/pull/1723] |
New:
The help_ja.html file currently contains a syntax error in the checkout scmGit example. The code snippet is written as:
{code:java} checkout scmGit(branches: [[name: 'main]], userRemoteConfigs: [[url: 'https://git-server/user/repository.git']]) {code} However, the correct syntax should include the missing closing bracket for the branches list. It should be written as: {code:java} checkout scmGit(branches: [[name: 'main']], userRemoteConfigs: [[url: 'https://git-server/user/repository.git']]){code} I fix it, [GitHub PR|https://github.com/jenkinsci/git-plugin/pull/1723] |
Remote Link | New: This issue links to "PR-1723 - fix the error in the example (Web Link)" [ 30544 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |
Description |
Original:
The help_ja.html file currently contains a syntax error in the checkout scmGit example. The code snippet is written as:
{code:java} checkout scmGit(branches: [[name: 'main]], userRemoteConfigs: [[url: 'https://git-server/user/repository.git']]) {code} However, the correct syntax should include the missing closing bracket for the branches list. It should be written as: {code:java} checkout scmGit(branches: [[name: 'main']], userRemoteConfigs: [[url: 'https://git-server/user/repository.git']]){code} I fix it, [GitHub PR|https://github.com/jenkinsci/git-plugin/pull/1723] |
New:
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:
{code:java} checkout scmGit(branches: [[name: 'main]], userRemoteConfigs: [[url: 'https://git-server/user/repository.git']]) {code} However, the correct syntax should include the missing closing bracket for the branches list. It should be written as: {code:java} checkout scmGit(branches: [[name: 'main']], userRemoteConfigs: [[url: 'https://git-server/user/repository.git']]){code} I fix it, [GitHub PR|https://github.com/jenkinsci/git-plugin/pull/1723] |
Summary | Original: Fix syntax error in checkout scmGit example in help_ja.html | New: Fix syntax error in checkout scmGit example in help |