GitLab CI/CD 1 · Caching, artifacts and ordering

Show test results in merge requests

Upload a JUnit report so failures show up in the merge request.

test-job:
  script:
    - npm test
  artifacts:
    when: always
    reports:
      junit: junit.xml

Official GitLab CI/CD 1 documentation

More caching, artifacts and ordering commands

All caching, artifacts and ordering commands · GitLab CI/CD 1 cheatsheet

Was this page helpful?