How can you skip steps in a job, or exit a job early (without failing the job)?

I’m in the process of building a CI/CD pipeline with Circle CI, and I want to have some conditional logic at the step level. E.g. “if this is true, then don’t run this step”.

Less flexible, but also acceptable with my current requirement is to just exit out of a job before all steps are complete without failing the job itself. E.g. “if this is true, exit the job with a successful result”.

Are either of these possible with Circle CI? Thanks in advance!

2 Likes

I don’t think either of those things are presently possible. I seem to recall they have both been separately suggested - see circleci.com/ideas as well.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.