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
Hi sorry if I'm lacking details here.
But when I run a pipeline on bitbucket . org , (say to a test environment or to a production environment) is there a way to double-check that I am deploying to the place I want after I have clicked "Run"?
I see a pipeline number, last commit, branch that is being deployed, and a nice pipeline progress flow-chart. But nowhere does it seem to say destination.
Is there a way to see this, to sanity check myself while I'm watching the build?
Hello @Nathan Hubbard and welcome to the Community!
You could change the step name to match the environment you are deploying to, so you can see the step name when you open the pipeline in the UI and can then ensure the correct environment was selected.
Following is an example YML file :
pipelines:
default:
- step:
name: Staging-1
deployment: Staging-1
script:
- echo "Private image was pulled"
- step:
name: Staging-2
deployment: Staging-2
script:
- echo "Private image was pulled"
Which will look like this in the UI :
The deployment environment can be configured under Repository Settings > Deployments.
The following article might also be of help when configuring deployment in your pipelines :
Thank you, @Nathan Hubbard !
Patrik S
Thank you. I'll try to remember this for the future!
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.