Skip to content

Commit

Permalink
Revert "Add guard against trying to upload non-existant artifacts to …
Browse files Browse the repository at this point in the history
  • Loading branch information
shuyama1 authored and pcostell committed Jul 16, 2024
1 parent 8fbc289 commit 18f36e6
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,6 @@ fun BuildSteps.saveArtifactsToGCS() {
#!/bin/bash
echo "Post-test step - storge artifacts(debug logs) to GCS"
export TEST_COUNT=${'$'}(./test-binary -test.list="%TEST_PREFIX%" | wc -l)
if test ${'$'}TEST_COUNT -le "0"; then
echo "Skipping upload to GCS; no tests were run, so no artifacts were generated"
exit 0
fi
# Authenticate gcloud CLI
echo "${'$'}{GOOGLE_CREDENTIALS_GCS}" > google-account.json
chmod 600 google-account.json
Expand Down

0 comments on commit 18f36e6

Please sign in to comment.