Skip to content

Commit 3180671

Browse files
committed
Use the snippet-generator redirect
Allows the description of the snippet generator to move on the jenkins.io site without requiring a change in the plugin source code. Depends on jenkins-infra/jenkins.io#4133
1 parent a996292 commit 3180671

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ The `checkout` step may be used to run any other SCM plugin, provided that it ha
7979
It could also be used to run an SCM for which there is a special integration that lacks support for an exotic feature.
8080
The step takes an `scm` parameter which is a map containing at least a `$class` parameter giving the full or simple class name of the desired `SCM` implementation, and the standard `poll` and `changelog` parameters.
8181

82-
It also takes any other parameters supported by the SCM plugin in its configuration form, using their internal names and values; use _Snippet Generator_ to get a detailed example for your SCM.
82+
It also takes any other parameters supported by the SCM plugin in its configuration form, using their internal names and values; use [_Snippet Generator_](https://jenkins.io/redirect/pipeline-snippet-generator)to get a detailed example for your SCM.
8383
Optional parameters can be omitted and will take their default values (to the extent supported by the SCM plugin).
8484
For example, to run Mercurial (1.51-beta-2 or higher):
8585

src/main/resources/org/jenkinsci/plugins/workflow/steps/scm/GenericSCMStep/help.jelly

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
This is a special step that will checkout using the configuration
66
options offered by any Pipeline-compatible SCM plugin.
77
Install the corresponding SCM plugin and select it from the list in the
8-
<strong><a href="https://jenkins.io/doc/book/pipeline/getting-started/#snippet-generator">Pipeline Snippet Generator</a></strong>.
8+
<strong><a href="https://jenkins.io/redirect/pipeline-snippet-generator">Pipeline Snippet Generator</a></strong>.
99
The
10-
<strong><a href="https://jenkins.io/doc/book/pipeline/getting-started/#snippet-generator">Pipeline Snippet Generator</a></strong>
10+
<strong><a href="https://jenkins.io/redirect/pipeline-snippet-generator">Pipeline Snippet Generator</a></strong>
1111
uses the installed SCM plugins of your Jenkins server to suggest pipeline snippets.
1212
</p>
1313
<p>This step returns a <code>Map</code> of any variables the SCM plugin would

0 commit comments

Comments
 (0)