Hi,
I have a pretty normal setup with a build plan and an associated deployment project. For reasons, the build does not produce any artifacts, but instead just uploads an archive of the project on some server (this is different than the deployment server). After building we create a release and deploy it. The build plan uses a linked repository to checkout the code. Because there are no artifacts, the deployment project needs to checkout the project code. It does this using the checkout task. After the checkout, the project files are uploaded to the deployment server and some additional things happen that are not really relevant for the issue we're having.
The above works well, but it breaks when using plan branches. The build works fine when using a plan branch, but the deployment does not, because apparently the checkout task will checkout the code of the branch of the linked repository, and not the code of the plan branch, which is unexpected.
Is this a bug in the checkout task or is this how it's suppose to work? Is there some workaround other than manually checking out the code in a script task?
We are using Bamboo Data Center 9.2 and we're building/deploying from a Docker container.