Forums

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

Error when setting up Bitbucket Deployments

t1279k
Contributor
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
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events