I want to create "revision.txt" file with a build version in the root of my web application. Something like this:
{code}
echo -e "Build: ${bamboo.planRepository.branch}_${bamboo.buildNumber}\nBuild-Time: ${bamboo.buildTimeStamp}\n" >> target/release.txt
{code}
I tried to redirect the output of echo using
{code}
>> target/release.txt
{code}
but it doesn't work. Bamboo just prints ">> target/release.txt" to console.