My environment:
I have a build with multiple stages. Only the first stage requires the source repository (it does the build). After that artifacts are used to share the build output with the other stages.
My assumptions/understanding:
1. If a source repository is specified (i.e. Use Plan's Repository) then it will check out all the source.
2. Without a source repository the revision number variable isn't set (${bamboo.repository.revision.number})
My problem:
In my final stage I want to copy the artifact files to a folder that has the revision number in its name. However to use the revision number I seem to need to have the repository set, which then checks out the source, even though I don't need it.
My thoughts/questions:
Is there some way the revision is accessible across the whole plan?
Is it possible to specify a repository without it being checked out?