Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to see Pipeline destination while running

Nathan Hubbard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 1, 2023

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?

1 answer

1 accepted

1 vote
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 2, 2023

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 : 

Screenshot 2023-11-02 at 12.38.22 PM.png

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 

Nathan Hubbard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2023

Thank you. I'll try to remember this for the future!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events