We are using bamboo and bitbucket(with submodules) for continues build. When we checkout our repository in Bamboo it downloads the repositories but skipping submodules. Log is showing below message.
Submodules handling requested but no native Git capability defined for agent. Please define native Git capability for agent to use submodules.
Is not sure what I am missing here.
I also checked below two option under Plan Configuration -> Repositories -> "select repository"
In order for this to work, you need to:
HTH
-Rich
I am new to git and never done this in the past. Also I am on windows machine.
Will you be able to share some tutorial to do the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok - are you running a local or remote agent?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Assuming they're local:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is Brian. Working in the same company with Ravi.
We are hosting Bitbucket(onpremise) and have installed Bamboo on a separate server. Based on your previous comment we installed git on Bamboo server.
We downloaded git from below link and git.exe is availabel at "C:\Program Files\Git\bin\git.exe"
https://git-for-windows.github.io/
After installing git it still gives same message
Submodules handling requested but no native Git capability defined for agent. Please define native Git capability for agent to use submodules.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian - you also need to define the capability in the local agent configuration page. Select 'Git" from the dropdown and set the location to C:\Program Files\Git\bin\git.exe. You need to define the capability for each local agent you have. If you use remote agents, the same thing must be done by the procedure is different.
-Rich
Screen Shot 2016-09-21 at 3.29.10 PM.png
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Rich. That worked and now it tries to download the submodules but does not progresses. to next statement.
This is what I am seeing in log and no progress after those lines
temp.png
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian - you might check the bamboo log, otherwise, unless someone else has a better answer for you, I'd suggest http://support.atlassian.com/ - see if the nice folks in Atlassian support can help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Rich.
The screen that I shared with my last comments is from log. Are you pointing out to see detailed log. If yes then please let me know the how to get detailed log?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rich,
So as I mentioned earlier build was stopped/paused while trying to checkout submodule. After waiting for 3 hours build was canceled and gave me below message. Hope this gives you more idea about the issue.
Task was canceled - 'CTP/(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.
I did some research on this error and some people suggested to check GIT path in capabilities and for me its correct(C:\Program Files\Git\bin\git.exe)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian - I don't think it would have gotten that far unless you have the capability configured correctly. However, since I haven't run into the problem you're experiencing I'm not in a position to help you solve it. I suggest contact the support folks. In my experience, they're very responsive and should be able to help you get back on track.
-Rich
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.