have some trouble with git checkout tools in Bamboo. It works too long. For example I have two repos. I can clone them to local machine in 5-10 minutes. But checkout task stucks at
Fetching 'refs/heads/release-1.69' from 'ssh://git@ [path/to/first/repo] .git'.
Git: remote: Counting objects
Git: remote: Compressing objects (120)
Git: Receiving objects (269)
Git: Resolving deltas (83)
Git: Updating references (1)
Git: Total 269 (delta 83), reused 128 (delta 31)
Checking out revision 7c11b20b2495be8bb8091839794c4e80bdc7651e.
Creating local git repository in 'path'
Sometimes this task take 150 minutes, sometimes it even has no end.
Another trouble that stopping plan with that task not stopping the agent. The only way to reanimate agent is restart it.
Is it something wrong with agent? Or I make mistake with configuring repos?
I have experienced the same behavior when using a BitBucket repository. The best fix that I have been able to come up with is to regular update the AWS image that is used by Bamboo to perform the build to have a fairly recent version of the repo. This is especially important if large files have changed or been added to the repo.
Hi Wayne, I am having the same issue with Source code check out. It takes almost 2 hours to checkout the code.
I am running on Windows boxes.. I read in other articles that we can first add script that runs checkout...
Could you please let me know how to do that...
I selected "Script" task and inline added commands
git clean -f -d
git checkout <branch-name>
It did nt work
Welcome to your weekly Jira Ops Early access program update, where we’re sharing news and updates on Jira Ops' progress as we work toward our 1.0 release. If you ever want to drop us feedback or idea...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs