Multi-line command not showing in pipeline UI

By default, pipeline output will collapse multi-line commands. For example, the following commands in .gitlab-ci.yaml and its output will be:

- |
  echo line1
  echo line2
  echo line3

Output:

$ echo line1 # collapsed multi-line command
line1
line2
line3
Edited Jan 03, 2024 by Bo-Chun Chen
Assignee Loading
Time tracking Loading