Slowly going crazy with this one, I am trying to inject Bamboo variables into a text file. I have tried many combinations, but to no avail, cannot seem to get my variable to be replaced during the Atlassian Bamboo build process. I'm running Bamboo on Windows.
Any ideas? This is simply a .txt file that is sent along with my build artifacts.
Whilst not ASP.NET specific, I would eventually like to replace some strings in my Web.config file.
As you can see from the output of my vartest.txt file, no variable combinations are being replaced.
%bamboo.test.variable%
%BAMBOO.test.variable%
%BAMBOO.TEST.VARIABLE%
%BAMBOO_TEST_VARIABLE%
%bamboo_test_variable%
${bamboo.test.variable}
%test_variable%
%TEST_VARIABLE%
%TEST.VARIABLE%
This is my setup (according to the documentation they should be accessible via %BAMBOO_TEST_VARIABLE%):