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,369,305
Community Members
 
Community Events
168
Community Groups

How to use global variable for Bamboo in the Redgate DLM Automation plugin

Hard-coded a SQL Server name in the Redgate DLM Automation plugin = "Server" text box.

Prefer to use a global variable but plan fails to get value out of a global variable.
Tried:
%Global_Variable_Name% and ${bamboo.Global_Variable_Name} in the "Server" text box.
Both failed.

Expected outcome: during an execution of the plan the value of the global variable should be used.

Sergei

2 answers

Hi Omar,

Didn't work.

Error:
...Local parameters [connectionString = Data  11-May-2018 14:58:25 Source=${MUD_AWS_BUILD_MACHINE_NAME};Initial Catalog= 

My build plan didn't substitute a global variable name with its value.

Any ideas?

Hi @Sergei, you can try viewing the task logs, there is a print with all variables global and local.

Check the name of the variable, some plugins use the variable name like this ${bamboo_variable_name}.

Cheers.

Omar H.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events