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,554,380
Community Members
 
Community Events
184
Community Groups

Question about custom pipeline creation

@mention So I'm creating my custom pipeline using pipe integration and environmental variables I created.  There's a testing, staging and production, environmental variable thanks to the advice of many people who have helped me thus far-especially today. Thinking flow of control/programming logic-  It makes sense to create the environmental variables before you deploy to those environments, aka run the scripts that create the variables before yo deploy thrm there so you will have a place for these deployments to go, am I correct?  The same with the build and test scripts: before you run the building of the application and the testing, shouldn't you have a place for it to take place[a testing/building environment]?

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 28, 2023

Hi @Mia Paulin,

Every repository with Pipelines enabled has 3 default deployment environments defined (go to Repository settings > Deployments). You can use the default ones in your bitbucket-pipelines.yml file or you can also define new ones and use them in your bitbucket-pipelines.yml file.

Below are some links about deployments:

If you want a certain command to use an environment variable, the variable needs to be defined before you use it. Instead of running a script that creates the variables during the build, you could also use a Workspace, Repository, or Deployment variable instead. You can check the following documentation on how to do this (see section User-defined variables):

If you have any questions, please feel free to reach out!

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events