Hi,
What is the purpose of the files tomcat01.yml, tomcat02.yml etc? Do you store in these files configuration for Bitbucket pipelines, similarly to bitbucket-pipelines.yml file?
If yes, then what you are doing is not going to work. Configuration for Bitbucket Pipelines needs to be stored in the bitbucket-pipelines.yml only.
You may want to look into custom pipelines, that can also make use of variables.
Custom pipelines do not get triggered automatically on every push, they can be triggered either manually or on schedule.
It is also possible to define variables for custom pipelines and give a value to these variables once you trigger a build.
You can check an example of a custom pipeline with variables here:
If you need further help, please provide some more details about your requirements and we can look into it.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.