From bef5364925f78395c2be6ab32d2e5fc87c62e26f Mon Sep 17 00:00:00 2001 From: Devin Nusbaum Date: Mon, 22 Feb 2021 16:27:17 -0500 Subject: [PATCH 1/2] Add redirect link for Pipeline Snippet Generator --- content/redirect/pipeline-snippet-generator.adoc | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 content/redirect/pipeline-snippet-generator.adoc diff --git a/content/redirect/pipeline-snippet-generator.adoc b/content/redirect/pipeline-snippet-generator.adoc new file mode 100644 index 000000000000..22dfe22dca12 --- /dev/null +++ b/content/redirect/pipeline-snippet-generator.adoc @@ -0,0 +1,4 @@ +--- +layout: redirect +redirect_url: https://www.jenkins.io/doc/book/pipeline/getting-started/#snippet-generator +--- From 1d2087dec325a5e6668d3805be3f343fd73e4bbf Mon Sep 17 00:00:00 2001 From: Devin Nusbaum Date: Mon, 22 Feb 2021 16:35:07 -0500 Subject: [PATCH 2/2] Use site-relative URL instead of absolute URL Co-authored-by: Mark Waite --- content/redirect/pipeline-snippet-generator.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/redirect/pipeline-snippet-generator.adoc b/content/redirect/pipeline-snippet-generator.adoc index 22dfe22dca12..1e3e55cbe9ae 100644 --- a/content/redirect/pipeline-snippet-generator.adoc +++ b/content/redirect/pipeline-snippet-generator.adoc @@ -1,4 +1,4 @@ --- layout: redirect -redirect_url: https://www.jenkins.io/doc/book/pipeline/getting-started/#snippet-generator +redirect_url: /doc/book/pipeline/getting-started/#snippet-generator ---