A Stage in a Bamboo Build Plan contains a Source Code Checkout task which checks out code from one of the Bitbucket repository branches that is linked to the Bamboo Build Plan.
What specifically do I need to type or do in order to get the name of the repository branch that was checked out by the Source Code Checkout task?
I have typed
`echo ${bamboo.planRepository.branchName}`
in a subsequent Task inside the same Stage in the same Build Plan, but this just prints out the name of the default branchName for the entire Build Plan, which is different from the specific branch that was just checked out by the specific Source Code Checkout task about which I need information.