mirror of
https://github.com/apache/sqoop.git
synced 2025-05-03 11:30:41 +08:00
Putting apply errors into code section in JIRA comment
This commit is contained in:
parent
1b1bbfd96a
commit
6379fe1d18
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user