Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35501

GIT .gitattributes - line feed configuration not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • Jenkins 2.7, Git-Client-Plugin 1.19.6, Git plugin 2.4.4

      We have the following problem after the jenkins update from Version 1.629 to 2.7.

      Now our Build failed because of a JUnit-Test needs some files with the line feeds CRLF instead of LF. In the .gitattributes file of the git repository is this configured. But the git plugin in the jenkins job ignored this configuration. The .DAT files are with the line feed LF in the workspace.

      This is the content of the .gitattributes file:

      * text=lf
      
      *.DAT text eol=crlf
      

      Why is now the .gitattributes file ignored by checking out the git repository?

      Could this be fixed?

            Unassigned Unassigned
            beumer Michael Beumer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: