You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having trouble identifying the correct syntax to apply an environment variable to my salt pipeline in order to feed that to the Salt command. Essentially, we have an upstream pipeline that sets up a server and a downstream pipeline that runs Salt on that newly configured server. I am feeding the server name as a Environment variable into the downstream job but having trouble finding how to reference it in salt. Here is the command I currently am trying:
I have tired to also use {{env.CA_HOSTNAME}} and "{{CA_HOSTNAME}}" to no avail. I have tested the above command by manually providing the server name versus using the CA_HOSTNAME variable and confirmed that the salt config applied correctly.
Is this supported by chance and if so what am I missing?
Thank you for your help!!
The text was updated successfully, but these errors were encountered:
Hello,
I am having trouble identifying the correct syntax to apply an environment variable to my salt pipeline in order to feed that to the Salt command. Essentially, we have an upstream pipeline that sets up a server and a downstream pipeline that runs Salt on that newly configured server. I am feeding the server name as a Environment variable into the downstream job but having trouble finding how to reference it in salt. Here is the command I currently am trying:
I have tired to also use
{{env.CA_HOSTNAME}}
and"{{CA_HOSTNAME}}"
to no avail. I have tested the above command by manually providing the server name versus using theCA_HOSTNAME
variable and confirmed that the salt config applied correctly.Is this supported by chance and if so what am I missing?
Thank you for your help!!
The text was updated successfully, but these errors were encountered: