Cake.BuildSystems.Module
Cake.BuildSystems.Module copied to clipboard
In GitLab CI, render Cake tasks as collapsible sections
Extends the module for GitLab CI with a custom CakeEngine that adds collapsible sections to the GitLab CI log (analogous to the groups in GitHubActionsEngine)
See Also: https://docs.gitlab.com/ee/ci/yaml/script.html#custom-collapsible-sections
I tried this out in a sample GitLab project and with the engine enabled, the output looks like this
Task-1andTask-2are Cake tasks and rendered as collapsible section- The build setup and teardown are rendered as sections as well
- By default, all sections are expanded. In the screenshot, I collapsed everything manually except for the output of
Task-2