Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Checkout task for plan branch in deployment project not working

Sheila Szass
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 9, 2025

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.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events