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,462,545
Community Members
 
Community Events
176
Community Groups

Why only second step could be triggered manually?

Edited

Just wondering, why there are the strange rule to trigger "manually" only second step in bitbucket-pipelines.yml ? For some reasons sometimes we need to have in the first step this option? Is there any workaround to setup this one in the first step, cause this empty first step to have second one is absolutely unnecessary and waste of bb minutes :) 

Maybe someone has already found some workaround?

pipelines:
branches:
dev:
- step:
name: deploy to Staging
trigger: manual. <<<?
deployment: Staging
script:
- pipe: atlassian/rsync-deploy:0.5.0

1 answer

Not sure, if it helps in your scenario, but we used "custom" flow, which will allow us to not only trigger manually, also to choose which individual step to run as well.

Hi Raju P_S , could you maybe share some examples ? Thank you :) 

pipelines:
custom:
DevDeploy:
- step:
<<: *Database_migrate
name: Dev - Database_migrate
deployment: Dev
UATDeploy:
- step:
<<: *Database_migrate
name: Staging - Database_migrate
deployment: Staging
This will allow you to run both Dev and UAT deployments manually and independently.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events