Commit 14a474d3 authored by Michael Tandy's avatar Michael Tandy

Apply suggestion to doc/ci/pipelines.md

parent b95c4694
...@@ -171,10 +171,12 @@ section_end:1560896353:my_first_section\r\e[0K ...@@ -171,10 +171,12 @@ section_end:1560896353:my_first_section\r\e[0K
Where `1560896352` is the unix time the section started or ended; `my_first_section` is a section name; and `\e[0K` is the clear line ANSI escape code. For example, a shell script can demark a collapsible section with: Where `1560896352` is the unix time the section started or ended; `my_first_section` is a section name; and `\e[0K` is the clear line ANSI escape code. For example, a shell script can demark a collapsible section with:
```sh ```yaml
echo -e "section_start:`date +%s`:my_first_section\r\e[0KHeader of the 1st collapsible section" job1:
echo 'this line should be hidden when collapsed' script:
echo -e "section_end:`date +%s`:my_first_section\r\e[0K" - echo -e "section_start:`date +%s`:my_first_section\r\e[0KHeader of the 1st collapsible section"
- echo 'this line should be hidden when collapsed'
- echo -e "section_end:`date +%s`:my_first_section\r\e[0K"
``` ```
## Configuring pipelines ## Configuring pipelines
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment