The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Giovanni Gargani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events