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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.