Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,329
    • Merge requests 1,329
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #216575
Closed
Open
Issue created May 05, 2020 by Sokunrotanak Srey (Rotanak)@rotanakDeveloper

Uploading junit report return error 500 instead of meaningful error

Summary

When an artifacts:report:junit directive is used in a pipeline but junit directive is mentioning a directory or files other than .xml file, the pipeline will throw 500 errors.

Steps to reproduce

Create a pipeline that output

Example Project

Failed pipeline: https://gitlab.com/rotanak/maven-web-application/-/jobs/521707528 and example .gitlab-ci.yml: https://gitlab.com/rotanak/maven-web-application/-/blob/6836adc7cffc3a3e73803e93ec2a46d403dc162f/.gitlab-ci.yml#L78

Passed pipeline: https://gitlab.com/rotanak/maven-web-application/-/jobs/521756719 and example .gitlab-ci.yml: https://gitlab.com/rotanak/maven-web-application/-/blob/f7f02ba46fcd52bf641f125b9130f46df9cf9857/.gitlab-ci.yml#L79

What is the current bug behavior?

Pipeline fail with 500 error instead of clarifying why it failed

What is the expected correct behavior?

Providing relevant error instead of 500 error.

Relevant logs and/or screenshots

(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise.)

Output of checks

This bug happens on GitLab.com; GitLab Enterprise Edition 13.0.0-pre b99bef61

Assignee
Assign to
Time tracking