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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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
Community Members
Community Events
Community Groups

Conditional Steps Behavior

I'm wandering the conditional steps behavior, 
when a commit failed on a pipeline, does another next commit will true on the change-set

Let say:

Change-set detect on File A

  • commit 1: change File A, but Fail
  • commit 2: change File B to fix it

Does commit 2 pipeline detected as true in conditional change-set ?


1 answer

1 accepted

0 votes
Answer accepted
Norbert C Atlassian Team Feb 15, 2022

Hi @xicond 

Thank you for contacting Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you!

Basically how Changesets works is that Changesets allows steps to be executed only when a condition or rule is satisfied. Currently, the only condition supported is changesets. Use changesets to execute a step only if one of the modified files matches the expression in includePaths. Changesets condition only checks whether if a file has been changed with a commit or not.

Please let me know if my explanation was clear, we're here to help.

Best Regards,
Atlassian Bitbucket Cloud Support

Hi @Norbert C 

Thanks for the reply, 

I already know the ChangesetsincludePaths
But my query is, if there're 2 or more commits, and I did pull-requests hook in pipelines, could it be process all commits diff in the pull requests for the Changesets, instead of just each commit, because I could be missed/fail on previous commit, then the step need to retry



Norbert C Atlassian Team Feb 21, 2022

Hi @xicond 

Thank you for your reply and for your explanation. 

In a pull-request pipeline, all commits are taken into account, and if you provide an includePath list of patterns, a step will be executed when at least one commit change matches one of the conditions

Please see:

Best Regards,
Atlassian Bitbucket Cloud Support

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events