Skip to content
Permalink
Browse files
Merge pull request #268 from kshultzCB/fix-online-docs-link
JENKINS-50964: Fix the link to syntax documentation (was a 404)
  • Loading branch information
kshultzCB committed Apr 24, 2018
2 parents 2249ecb + 77eb127 commit e5b9160f8459fa5173f7bce78868df4e03e8586c
@@ -175,7 +175,7 @@ public static class DeclarativeOnlineDocsLink extends SnippetizerLink {
@Override
@Nonnull
public String getUrl() {
return "https://jenkins.io/doc/pipeline/syntax/";
return "https://jenkins.io/doc/book/pipeline/syntax/";
}

@Override
@@ -38,7 +38,7 @@
click <b>Generate Declarative Directive</b> and the Pipeline code will appear in the box below. You
can copy that code directly into the <code>pipeline</code> block in your <code>Jenkinsfile</code>,
for top-level directives, or into a <code>stage</code> block for stage directives. See
<a href="https://jenkins.io/doc/pipeline/syntax/" target="_blank">the online syntax documentation</a>
<a href="https://jenkins.io/doc/book/pipeline/syntax/" target="_blank">the online syntax documentation</a>
for more information on directives.
</f:block>
<f:section title="${%Directives}"/>

0 comments on commit e5b9160

Please sign in to comment.