Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error when setting up Bitbucket Deployments

t1279k March 17, 2021

I followed the instruction and added deployment: dev in the pipeline definition

https://bitbucket.org/blog/introducing-bitbucket-deployments#:~:text=Environments%20in%20Bitbucket%20are%20configured,via%20the%20Pipelines%20YAML%20file. 

When I run I get the following error. where do set the environment settings

The environment 'dev' in your bitbucket-pipelines.yml doesn’t match any environment defined in your settings. Either update your yml, or your settings, to use the same name.

1 answer

1 accepted

0 votes
Answer accepted
Justin Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 21, 2021

Hi @t1279k

It looks like the blog is a bit dated. We have added the capability for user-defined deployment environments, you need to now define your environment before using it in your bitbucket-pipelines.yml. Further documentation can be found here.

Thanks,

Justin Thomas

Product Manager, Bitbucket Pipelines

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events