Corrected the status code logic

1 job for logic_status in 1 minute and 13 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Test
failed tests #29235

00:01:13

 
Name Stage Failure
failed
tests Test
Uploading artifacts for failed job
Uploading artifacts...
WARNING: coverage.xml: no matching files
ERROR: No files to upload
Uploading artifacts...
WARNING: report.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1