Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Bitbucket Pipeline Error


I have a scenario regarding the bitbucket pipeline. Explored bitbucket blog and document regarding this scenario. But not found proper solution. Scenario is mentioned below.
If we have master bitbucket-pipelines.yml and inside the repository we have folders like tomcat01, tomcat02 etc. file and each tomcat folder has files tomcat01.yml, tomcat02.yml in the respective folder. If we pass variable ‘tomcat01’, will this only trigger tomcat01.yml in the pipeline?
Can anyone help me with the proper solution?

1 answer

0 votes

Hi @Rameshwar Katkar,

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,

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events