Hello,
We've been having some problems trying to pass an argument to our script that needs to resolve a filepath using the same directory that the build is been ran.
At first we tried using a relative path, like this: -b deploy.gradle -Dconf="conf/hml.properties"
But we've been getting a file not found on the conf/hml.properties.
Then we tried using a bamboo variable, like this: -b deploy.gradle -Dconf="${build.working.directory}/conf/hml.properties", expecting that the variable gets resolved to where bamboo is executing the script, but for some reason its not being resolved at all.
Variables should be resolved in arguments of tasks, right? Or am i thinking wrong?
Thanks for the help.