Skip to content

GitLab Next

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Menu
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Merge requests
  • !20390

Extend gitlab-ci.yml to request junit.xml test reports

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Shinya Maeda requested to merge artifact-format-v2 into master Jul 05, 2018
  • Overview 157
  • Commits 3
  • Pipelines 80
  • Changes 26

What does this MR do?

This MR does the following things

  1. Allow reports:junit: keyword in gitlab-ci.yml
  2. Include artifact_type(archive, junit) and artifact_format(zip, gzip) keyword in job requests of GitLab-runner.
  3. Store artifact_type=junit artifact in GitLab-rails

The list of merge requests for the end-goal (Each MR is based on the previous MR)

  1. Extend gitlab-ci.yml to request junit.xml test reports
  2. Parse junit.xml.gz and calculate the difference between head and base
  • CE: Here
  • EE: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6605

Does this MR meet the acceptance criteria?

  • Changelog entry added, if necessary
  • [-] Documentation created/updated => This will be handled in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20576
  • [-] API support added => https://gitlab.com/gitlab-org/gitlab-ce/issues/49265
  • Tests added for this feature/bug
  • Conform by the code review guidelines
    • Has been reviewed by a Backend maintainer
  • End-to-end tests pass (package-and-qa manual pipeline job)
  • This merge request adds or changes files that require a review from the Database team.

What are the relevant issue numbers?

Related: #46809 (closed)

Edited Jul 27, 2018 by Grzegorz Bizon
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: artifact-format-v2