You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have a bitbucket pipeline file as below;
pipelines:
branches:
dev:
- step:
name: Test1
script:
- echo "Test"
dev:
- step:
name: Test2
script:
- echo "Test"
Hi @Aashish41 and welcome to the community!
I don't believe that this is possible, however, a pipeline for a certain branch can have multiple steps.
If you want to execute both steps when a commit is pushed to dev branch, you can modify your bitbucket-pipelines.yml file as follows:
pipelines:
branches:
dev:
- step:
name: Test1
script:
- echo "Test"
- step:
name: Test2
script:
- echo "Test"
Is this what you are looking for?
Kind regards,
Theodora
Hi @Theodora Boudale , Thank you for your response.
I have already opted using multiple steps for a single branch. I just wanted to know if it is possible to use same branch multiple times. Unfortunately, it is not possible.
Anyway your response was helpful for me.
Have a great day !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.