Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,792
Community Members
 
Community Events
165
Community Groups

How to skip CI pipeline on push in bitbucket?

We have a pipeline set up in our repo to a specific set of branches (defined using wildcards in pipeline) to trigger deployment on push command. Sometimes the developers might not want to run the pipeline for that specific push as they know that it will fail or it is not needed as there are more things to add in. In such cases there is not option to skip the pipelines.

I am looking at a push option like "ci.skip" or "ci-skip=true" which will make sure not to trigger the pipeline for that specific push. This facility/option is provided on gitlab, so I am looking for something similar or bitbucket too. As of today, if I try the same it throws below error

fatal: the receiving end does not support push options
fatal: the remote end hung up unexpectedly

 

Note: I am not looking for a commit level ci skip

1 answer

1 accepted

1 vote
Answer accepted
Mark C Atlassian Team Aug 16, 2021

Hi @Sushant Pachipulusu

Welcome to the community.

I'm afraid we do not support push-level skip ci for Pipelines.
We only have the commit-level CI that you can add to your commit message to skip a Pipelines build.
The way how Pipelines skips a build is through Webhooks.
When Pipelines reads or validates that a commit message has the string [skip ci] or [ci skip], it will be ignored by Pipelines.

Right now, I've gone ahead and created a feature request for it that can be located through this link. - https://jira.atlassian.com/browse/BCLOUD-21290
You can upvote and watch it for now so that you'll be notified of any updates from our team when the feature becomes available on Bitbucket Cloud.
Please do note that we don't have an exact ETA for the feature request as all new features will be implemented according to our policy here.

Let me know if you have any questions.

Regards,
Mark C

Thank you Mark for creating a feature request. Hope it will get accepted soon and will become a feature from bitbucket too

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,232 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you