I have many Microservices in Java.
The idea is to create just one pipeline(bitbucket-pipelines.yml) for all the same projects, and put what is common.
Steps:
- Create one bitbucket-pipelines.yml with the common values
- Import this YML in all the other projects.
So, with that, we can change in just one file, instead of a change in every .yml.
For example in gitlab it's possible with include: file: