GitLab

Inside the improved CI logs management experience for multi-line commands

Jan 25, 2024Romuald Atchadé
Inside the improved CI logs management experience for multi-line commands
SummaryAI, from the source post

Introduces a new feature FF_SCRIPT_SECTIONS to enable collapsible log output for multi-line commands in GitLab CI jobs. This improves the debugging experience by grouping related log lines. The post details how to enable the feature flag, demonstrates its effect on Bash shell jobs, and contrasts it with the previous behavior. It also mentions that Powershell support is planned for a future release and discusses the potential for custom collapsible sections.

More from the GitLab CI and Distributed Builds trail