I have a bitbucket-pipelines.yml file that is throwing an error message in VS Code 'Value is not accepted. Valid values: "test", "staging", "production":
- echo 'First step in default'
name: Deploy to ci1 sandbox
I've created an environment called ci1-sandbox. Shouldn't this config file's "deployment" line reference that environment?
The example in the documentation at this link shows a sample pipelines config file that contains deployments with names other than 'test', 'staging' or 'production':
I've defined the values in the Bitbucket settings (there are environments existing in the settings that match the deployment names used in my configuration file) but still get an error highlight with message in VSCode:
The error does not prevent the plans from running successfully, but it would be great to have the error highlighting removed for custom deployment names.
I have the same issue with the vscode extension. It doesn't seem to pull down the deployment names from the repo my project is connected to. It's just using the default names of the deployments when you first enable pipelines.
I would recommend either removing the deployment name check or fixing it so it pulls the configured deployment names.
Disabling the Jira and Bitbucket extension prevents the deployment names from showing as an error, but then I lose the Jira Issue and Pipeline explorer.
Can you please fix this?
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
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