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

**URL:** <https://discuss.circleci.com/t/how-can-you-skip-steps-in-a-job-or-exit-a-job-early-without-failing-the-job/22583>\
**Category:** Build Environment\
**Created:** [May 27, 2018, 12:09am UTC](https://discuss.circleci.com/t/how-can-you-skip-steps-in-a-job-or-exit-a-job-early-without-failing-the-job/22583 "2018-05-27T00:09:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![trstringer](https://avatars.discourse-cdn.com/v4/letter/t/a5b964/32.png) [@trstringer](https://discuss.circleci.com/u/trstringer)\
**Post date:** [May 27, 2018, 12:09am UTC](https://discuss.circleci.com/t/how-can-you-skip-steps-in-a-job-or-exit-a-job-early-without-failing-the-job/22583/1 "2018-05-27T00:09:15Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![halfer](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/halfer/32/9083_2.png) [@halfer](https://discuss.circleci.com/u/halfer)\
**Post date:** [May 27, 2018, 3:32pm UTC](https://discuss.circleci.com/t/how-can-you-skip-steps-in-a-job-or-exit-a-job-early-without-failing-the-job/22583/2 "2018-05-27T15:32:40Z")

</div>

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](http://circleci.com/ideas) as well.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [August 25, 2018, 3:32pm UTC](https://discuss.circleci.com/t/how-can-you-skip-steps-in-a-job-or-exit-a-job-early-without-failing-the-job/22583/3 "2018-08-25T15:32:45Z")

</div>

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