Sorry, I should have been more specific; I'm using Pipelines Deployments
bamboo.deploy.environment should give you the environment name. Please take a look at https://confluence.atlassian.com/bamboo/variables-for-deployment-environments-342754180.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.