I try to use the variable ${bamboo.repository.name} in further tasks, but it's always substituted with name of the same branch.
Example:
I push on "Branch", the variable has the value "Branch".
I push on "Master", the variable has the value "Branch"... but normally it should have the value "Master", shouldn't it?
Is there another variable to figure out the name of the branch to which something was pushed?