Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Do Bitbucket Pipeline have "rules" / "only-except" like in gitlab CICD


HI all,


I trying deploy micro-services with multiples container in same bitbucket repository. currently.


For some newly added features, only some of the container will be modify, and I would like to avoid all container build again in "build" step (Noticed that there could be control over branches, but controlling step within the branch ? ).


In gitlab, Its allow some sort of control on job (step in bitbucket) so that it could avoid container without modification be re-build again and hence avoid wasting build time.

docker build: script: docker build -t my-image:$CI_COMMIT_REF_SLUG . rules: - changes: # Will include the job and set to when:manual if any of the follow paths match a modified file. - Dockerfile when: manual

Run manually if Dockerfile has changed OR $VAR == "string value"


Is there already such feature ? if not, would it be on product roadmap ?


- using GCP

- my situation (used docker-compose to develop locally, for a single service with multiple backend micro-services)


Looking forward to your advise !


1 answer

0 votes

Hi Solomon,

At the moment there is no built-in support for having these types of conditions on steps being triggered.

We an open feature request for triggering pipelines after certain files change. Which you can follow.

You can also open a new feature request here:!default.jspa



Hi Phil,

Thanks for the update, hope this feature request could be adopted and rollout soon!



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

753 views 17 21
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