Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,825
Community Members
 
Community Events
168
Community Groups

Can I use a variable fron Workspace or repository as the VALUE for a variable in deployment?

I routinely change the port my ssh daemon is listening too (to mitigate rogue connection attempts issue).
Traverse all my repository to change the ssh port used for deply is boring, time consuming and prone to errore.
I would like to set somethin glike PRODSSHPORT at Workspace level, and the using this variable to set the PORT variable in my prod deployment variables. I am using the bitbucket web interface
I tried with 

  • PORT = $PRODSSHPORT
  • PORT = ${PRODSSHPORT}
  • PORT = {$PROFSSHPORT}

with no luck

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events