I would like to be able to run a step in pipelines only if certain files changed since last successful build, however it seems that this feature only considers the last commit, even if the build failed.
Is there a way to do what I want?
Hi @Guðmundur and welcome to the community.
I'm afraid that this is not possible at the moment.
In a pull-request pipeline, all commits are taken into account, and if you provide an includePathlist of patterns, a step will be executed when at least one commit change matches one of the conditions. For other types of pipelines, only the last commit is considered.
I can open a feature request for what you're asking for our development team to consider, please feel free to let me know if you'd like me to proceed with that.
Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...
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