Can i dump all my custom bamboo variables to a file

I have a lot of different bamboo plans and each with its own set of custom variables. I take these variables and then add them to the apache virtual hosts file. 

 

But that means for every virtual hosts file i need to echo the or substitute the variables to the file. IS there a way i can just tell bamboo during a plan run to get all the custom variables on the plan and just echo it out to a file?

2 answers

This widget could not be displayed.

Thanks. Where is the log located if i dump it to log? Maybe i can then read them from the log? This would actually be a great feature in bamboo.

Log is stored at server side and agent don't have access to it. So you need to create plugin to dump all variables to file at agent side. As reference you can look at implementation of 

com.atlassian.bamboo.plugins.variable.debug.DumpVariablesTask from bamboo-variable-inject-plugin
This widget could not be displayed.

Hello @Jacobus van Heerden,

There is no built-in task for it except Dump variables to log. You can use it to debug your plan configuration

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

161 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you