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

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

Giovanni Gargani August 21, 2020

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
AUG Leaders

Atlassian Community Events