You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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
Does commit 2 pipeline detected as true in conditional change-set ?
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,
Norbert
Atlassian Bitbucket Cloud Support
Hi @Norbert C
Thanks for the reply,
I already know the Changesets > includePaths
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
Regards,
~xicond
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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: https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/#condition
Best Regards,
Norbert
Atlassian Bitbucket Cloud Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.