Skip to content

fix: read error from upload artifacts execution.

What does this MR do?

Fixes a bug when an error occurs during the "artifacts upload" stage.

Why was this MR needed?

During a failure in the upload artifacts step of a build jobs were not failing. This is a problem.

I have tested my patch with a local build and it makes the job fail if an error occurs during artifact uploading execution:

FATAL: invalid argument                            
Job succeeded
FATAL: invalid argument                            
ERROR: Job failed: exit code 1

Are there points in the code the reviewer needs to double check?

Help would be appreciated to create a test case for failed uploads builds.

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Tests
    • Added for this feature/bug
    • All builds are passing
  • Branch has no merge conflicts with master (if you do - rebase it please)

What are the relevant issue numbers?

Fixes #2584 (closed)

Edited by username-removed-4080

Merge request reports