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
- Cache dependencies
- Pass files to later jobs
- Start a job as soon as dependencies finish
- Run a job for several versions
- Start a database for tests
All caching, artifacts and ordering commands · GitLab CI/CD 1 cheatsheet