Forums

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

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

Sergei
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!
May 10, 2018

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

0 votes
Sergei
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!
May 10, 2018

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?

0 votes
Omar Herrera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2018

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

Atlassian Community Events