From 5495166bf5c00e91a7d4b9aa15c3aed083dbc290 Mon Sep 17 00:00:00 2001 From: Mark Pundsack Date: Mon, 25 Jul 2016 12:32:14 -0700 Subject: [PATCH] Clarify CI script needing to quote colons --- doc/ci/yaml/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index ea3fff1596e..189ce652a66 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -379,6 +379,8 @@ job: - bundle exec rspec ``` +Sometimes, `script` commands will need to be wrapped in single or double quotes. For example, commands that contain a colon (`:`) need to be wrapped in quotes so that the YAML parser knows to interpret the whole thing as a string rather than a "key: value" pair. Be careful when using special characters (`:`, `{`, `}`, `[`, `]`, `,`, `&`, `*`, `#`, `?`, `|`, `-`, `<`, `>`, `=`, `!`, `%`, `@`, `\``). + ### stage `stage` allows to group build into different stages. Builds of the same `stage`