Hi,
Is there a way to force conf.autocrlf=true when using Github? There doesn't seem to be any configuration options for this in Bamboo's Github connector.
It seems that this is either so easy that nobody needs to ask, or it's not possible.
Thanks
AJ
If you configure a Native Git capability for all agents you want to use the Github connector on to checkout source, you can set conf.autocrlf the normal way using git config (As long as you run git config manually on all machines that have Bamboo agents).
Thanks! I will try this.
AJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
James, actually this is not as bamboo working, but only as it should be.
According to https://jira.atlassian.com/browse/BAM-11725, autocrlf will be always false.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Stas,
Can you give some hints as to how to recreate the wrong behavior? I do not have Bamboo 4.0.1 on hand (instead I've tested this on 4.4.x), but it seems to me that if you set "git config --global --add conf.autocrlf true" on the agents (or Bamboo server if the Local Agents are involved), then the git spawned from Bamboo will use autoctlf=true config as expected. So... May I ask what are you trying to achieve and why it fails?
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On bamboo 4.0.1, if you set "git config --global core.autocrlf true" on agent, and thet use Sourcecode checkout task in bamboo, you will see in .git/.gitconfig file in clonde repository:
[core]
repositoryformatversion = 0
filemode = false
logallrefupdates = true
autocrlf = false
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bamboo 4.0.1
[core] repositoryformatversion = 0 filemode = false logallrefupdates = true autocrlf = false
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.