From dd86972f0650a7eb32675f6dfeb208cf9a3aa7fe Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Tue, 28 May 2019 19:47:33 +0200 Subject: [PATCH] gocd: Fix rendering of missing linebreak in README --- gocd/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gocd/README.md b/gocd/README.md index b0eb4534..5b442727 100644 --- a/gocd/README.md +++ b/gocd/README.md @@ -3,8 +3,9 @@ How to validate the yaml For some reason, valid yaml is not supported - the indentation required is rather wild. But to check the syntax before commit, you can use the -plugin locally +plugin locally: +``` wget https://github.com/tomzo/gocd-yaml-config-plugin/releases/download/0.9.0/yaml-config-plugin-0.9.0.jar -#> java -jar yaml-config-plugin-0.9.0.jar syntax sp1-stagings.gocd.yaml -{"valid":true} +java -jar yaml-config-plugin-0.9.0.jar syntax sp1-stagings.gocd.yaml | grep -q '"valid":true' +```