Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11159

Use 'git apply' to apply patch instead of 'patch' command in Jenkins

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.6.0
    • None
    • build
    • None

    Description

      Currently a patch to change files with CR+LF (such as *.cmd) created by 'git diff' command cannot be applied by 'patch' command because 'git diff' outputs no CR+LF.
      Probably almost all the developers use 'git diff' or 'git format-patch' to create a patch as the SCM has moved to Git. Therefore Jenkins should use 'git apply' to apply patch.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: