verify_deploy - curl_output.txt is absent of failed jobs artifacts
Background
When a review-deploy job fails at the verify-deploy command, it logs all of its curl attempts into a curl_output.txt file. This file is later on uploaded in the job artifacts.
The problem
Currently, this file is not being uploaded with the other artifacts.
Useful parts of the codebase
- Call to verify_deploy
- Call to
test_url - Store the curl output to a file
- Call to retry
- Store the
curl_output.txtas an artifact
Current guess
The retry command has a call to eval...maybe that has an impact on the file being created?
Other facts
The file is available when the job succeeds, but it's not available when the job fails.
Edited by David Dieulivol