Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
GitLab FOSS
GitLab FOSS
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • Container Registry
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #14664

Project 'gitlab-org/gitlab-ce' was moved to 'gitlab-org/gitlab-foss'. Please update any links and bookmarks that may still have the old path.
Closed
Open
Opened Mar 27, 2016 by Connor Shea@connorshea🏄0 of 5 tasks completed0/5 tasks
  • Report abuse
  • New issue
Report abuse New issue

Collapsable job log

Description

Job logs can be really long and full of different commands, making it hard to find details you're looking for. We should be able to expand and collapse command output so that it more readable. Currently running commands should be expanded. As each command finishes and succeeds, it should be collapsed. If a command fails, it should stay expanded. Each command should show a duration. Ideally, this would still look very much like a single log, just with collapsable sections. Travis and Codeship are good examples here.

Proposal

  • Show each script command as collapsable section
  • Collapse commands that succeeded by default (if we do this we need one "expand all" button)
  • Expand currently running command, if any
  • Expand failed commands (generally the last one)
  • Show durations of each command

Screenshot of proposal

The solution will be similar to Travis as in expandable arrows within the job log text

Original issue

Expand for original description
CircleCI and Travis CI both collapse their build logs into sections for each command. It makes the build logs a *lot* easier to read through. Right now GitLab CI shows the full build log by default, so for builds like [this](https://gitlab.com/gitlab-org/gitlab-ce/builds/941269) I have to scroll down all the way to the bottom through a bunch of stuff (booting Docker, gem installs, migrations, etc.) to get to the test - which is what I actually want to see.

CircleCI:

Screen_Shot_2016-03-27_at_10.26.29_AM

Travis CI:

Screen_Shot_2016-03-27_at_10.27.59_AM

GitLab CI: Screen_Shot_2016-03-27_at_10.29.19_AM

I assume the other two do this by just looking for the command in the build log and separating the log for every command? Would improve the Build UX by a ton.

Edited Jun 14, 2019 by Brendan O'Leary 🐢

Related issues

  • Discussion
  • Designs
Assignee
Assign to
12.0
Milestone
12.0
Assign milestone
Time tracking
None
Due date
None
13
Labels
Category:Continuous Integration Contribute for prize Deliverable UX ready Verify [DEPRECATED] backend breadth customer+ devops::verify direction feature frontend pipeline
Assign labels
  • View project labels
Reference: gitlab-org/gitlab-foss#14664