hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11159) Use 'git apply' to apply patch instead of 'patch' command in Jenkins
Date Thu, 02 Oct 2014 20:14:33 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-11159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14157100#comment-14157100

Akira AJISAKA commented on HADOOP-11159:

In HADOOP-7984, Jenkins failed to apply the patch to change *.cmd files, which is caused by
this issue.

> Use 'git apply' to apply patch instead of 'patch' command in Jenkins
> --------------------------------------------------------------------
>                 Key: HADOOP-11159
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11159
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 2.6.0
>            Reporter: Akira AJISAKA
> 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.

This message was sent by Atlassian JIRA

View raw message