My company use a Linux Jenkins box and the project is forced to use LF or 
the build will be failed in style checking. 
I setup a windows Slave of this Linux Jenkins using "Launch  slave agent 
via Java Web Start" and Running the Jenkins slave service in this Windows 
box using a user in its home folder I added one .gitconfig file with te the 
following settings: 
[core] 
        eol = lf 
        autocrlf = false 

And "Source Code Management" setting for the Slave's task configuration , I 
use Git and repository pointing to gitlab repository, so Jenkins will 
create a workspace in the windows salve and copy the project over to this 
workspace. However, I notice that all files change to CRLF. 
What I missed? Is this a known issue of Jenkins. Any help will be 
appreciated, I am stuck here for a while. Thanks. 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b98b94e4-49ea-4015-8675-039675440177%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to