这是indexloc提供的服务,不要输入任何密码
Skip to content

Group task logs in CI #6188

@weyert

Description

@weyert

Which project is this feature idea for?

Turborepo

Describe the feature you'd like to request

I would like to be able to visually group logs in CI so its easier to keep track of logs or to expand/collapse

Describe the solution you'd like

I would like to have support for some special logging instructions that are supported in CI solutions, the most popular ones are:

Gitlab:
Requirement: None

start: section_start:${Math.floor(Date.now() / 1000)}:${taskName}\\r\\e[0K${taskName}\r\n
end: section_end:${Math.floor(Date.now() / 1000)}:${taskName}\\r\\e[0K

Teamcity:
start: ##teamcity[blockOpened name='${taskName}']
end: ##teamcity[blockClosed name='${taskName}']

Github Actions:
Requirement: None

start: ::group::${taskName}\r\n
end: ::endgroup::\r\n

Travis:
start: travis_fold:start:${taskName}\r\n,
end: travis_fold:end:${taskName}\r\n,

Azure:
start: ##[group]${taskName}\r\n,
end: ##[endgroup]\r\n,

Describe alternatives you've considered

None

TURBO-1517

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerslinear: turboIssues to sync to Linear for Turborepo team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions