CICD-198 · Make pipeline logs easy to scan
Encyclopedia · CI diagnostics and evidence · All snippets
Previous · CICD-197 · Next · CICD-199
1. Where it fits
- Placement Bash run step following checkout, or equivalent lab terminal.
- Prerequisites authorized fixture run and sanitized evidence location.
- Platforms local-linux, github-actions, gitea-actions.
2. Copy the snippet
bash
printf '::group::Fixture details\n'
git status --short
printf '::endgroup::\n'3. How it works
Workflow command markers delimit a log group. A scanner can collapse the group, while command exit status still determines whether the step passed.
4. Verify the result
Use trusted text in workflow commands and keep grouped output actionable.
Validation syntax-validated (Bash parse). Status definitions.