Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,556,218
Community Members
 
Community Events
184
Community Groups

Bitbucket Pipeline Error

Hi,

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
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 22, 2022

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,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events