5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-03 22:51:34 +08:00

Putting apply errors into code section in JIRA comment

This commit is contained in:
Jarek Jarcec Cecho 2013-06-16 13:16:08 -07:00
parent 1b1bbfd96a
commit 6379fe1d18

View File

@ -187,7 +187,7 @@ def git_apply(result, cmd, patch_file, strip, output_dir):
if output:
print output
else:
result.fatal("failed to apply patch (exit code %d):\n%s\n" % (rc, output))
result.fatal("failed to apply patch (exit code %d):\n{code}%s{code}\n" % (rc, output))
def mvn_clean(result, output_dir):
rc = execute("mvn clean 1>%s/clean.txt 2>&1" % output_dir)