mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
In case of failures to upload to codecov, show it's output
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
287de2b898
commit
114515c66c
1 changed files with 3 additions and 1 deletions
|
@ -1227,7 +1227,9 @@ def upload_coverage(ctx: Context, reports_path: pathlib.Path, commit_sha: str =
|
|||
break
|
||||
|
||||
if current_attempt >= max_attempts:
|
||||
ctx.error(f"Failed to upload {fpath} to codecov")
|
||||
ctx.error(f"Failed to upload {fpath} to codecov:")
|
||||
ctx.console_stdout.print(stdout)
|
||||
ctx.console.print(stderr)
|
||||
ctx.exit(1)
|
||||
|
||||
ctx.warn(f"Waiting {sleep_time} seconds until next retry...")
|
||||
|
|
Loading…
Add table
Reference in a new issue