Hi! Is there a way to share steps in Bitbucket pipelines? Aka write it once, and use it several places?
If I for example wanted to build a JAR on every commit, but only upload it somewhere if the branch was production.
To achieve this today, I have to do somethink like this:
You can see that this step is implemented exactly the same for default and for branch master:
I'm a fan of DRY. is there a way to define this step once, and use it both places?