GitLab CI/CD 1 · Caching, artifacts and ordering

Pass files to later jobs

Keep build output so later jobs and people can download it.

build-job:
  script:
    - npm run build
  artifacts:
    paths:
      - dist/
    expire_in: 1 week

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?