mirror of
https://github.com/apache/sqoop.git
synced 2025-05-09 03:41:06 +08:00
SQOOP-1972: Sqoop2: PreCommit hook have incorrect link for test reports
(Jarek Jarcec Cecho via Abraham Elmahrek)
This commit is contained in:
parent
60066b8f38
commit
fb7edeb237
@ -266,7 +266,7 @@ def run_mvn_test(command, test_type, result, output_dir):
|
||||
if rc == 0:
|
||||
result.success("All %s tests passed" % test_type)
|
||||
else:
|
||||
result.error("Some %s tests failed (%s)" % (test_type, jenkins_file_link_for_jira("report", "test%s.txt" % test_type)))
|
||||
result.error("Some %s tests failed (%s)" % (test_type, jenkins_file_link_for_jira("report", "test_%s.txt" % test_type)))
|
||||
failed_tests = []
|
||||
for path in list(find_all_files(".")):
|
||||
file_name = os.path.basename(path)
|
||||
|
Loading…
Reference in New Issue
Block a user