You can skip builds on both CodeShip Basic and CloudBees CodeShip Pro by using a special commit directive.
Skipping Builds Using The Commit Message
You can add either of the following skip directives to the commit message of the last commit before you push and that push will be ignored:
-
--skip-ci
-
--ci-skip
-
[skip ci]
-
[ci skip]
Skipped builds do not have a build record and will not show up in the CodeShip UI. They will also not count towards the concurrent builds or monthly build limits for users.
Skipping Builds Using A Step Tag on Pro
On CloudBees CodeShip Pro, in addition to using
a commit message, you can also de-facto skip builds by making sure that
every step in your codeship-steps.yml
file has a tag
, which limits
that step to a certain branch. Learn more about
limiting your steps to a certain branch.