diff options
author | Mark Pundsack <markpundsack@users.noreply.github.com> | 2016-07-25 12:32:14 -0700 |
---|---|---|
committer | Mark Pundsack <markpundsack@users.noreply.github.com> | 2016-07-25 12:32:14 -0700 |
commit | 5495166bf5c00e91a7d4b9aa15c3aed083dbc290 (patch) | |
tree | 9b6ee3293ed5c0f934a536cbdd401084de5416e2 | |
parent | 9fead2b8271c4f3bb6c04a596253f80b09de9caa (diff) | |
download | gitlab-ce-5495166bf5c00e91a7d4b9aa15c3aed083dbc290.tar.gz |
Clarify CI script needing to quote colons
-rw-r--r-- | doc/ci/yaml/README.md | 2 |
1 files changed, 2 insertions, 0 deletions
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` |