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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error when setting up Bitbucket Deployments

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

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
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,734 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you