[Bamboo Knowledge Base]
The first repository in the list of plan repositories is the Plan's Default Repository. The default repository will be automatically checked out by any new job created.
Repository specific Plan Variables, such as repository.revision.number, will point to the default repository of a Plan. To address a specific repository, you must add the name of the repository to the end of the variable as follows: repository.revision.number.product_core.