In my case, I have a single repository that needs to be deployed (via git pull) to multiple different servers/mandanten. Currently, I have set up three self-hosted Linux shell runners — one per server — but every time I trigger a pipeline, only one runner executes the job, usually at random. As a result, only one of the servers gets updated.
In my bitbucket-pipelines.yml file, I have just one step, and all runners are registered with the same labels.
My questions are:
Is it possible to run the same pipeline step on multiple self-hosted runners for a single repository?
If yes, what is the correct or recommended configuration for this setup?
If not, what would be the best workaround or best practice to deploy the same code to multiple target serversfrom a single pipeline?
Thank you in advance for your help!