GitLab CI/CD 1 · When jobs run

Allow a job to fail

Let the pipeline pass even if this job fails.

lint-job:
  allow_failure: true
  script:
    - npm run lint

Official GitLab CI/CD 1 documentation

More when jobs run commands

All when jobs run commands · GitLab CI/CD 1 cheatsheet

Was this page helpful?