Skip to content

Commit

Permalink
Update vars/readFileFromArtifactStorage.groovy
Browse files Browse the repository at this point in the history
Co-authored-by: Jiri Popelka <[email protected]>
  • Loading branch information
msrb and jpopelka committed Dec 4, 2023
1 parent d476514 commit 1562307
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions vars/readFileFromArtifactStorage.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ def call(Map params = [:]) {
// Sync to artifact storate happens in background, so Testing Farm can report the job to be done,
// but the data is still not in the artifact storage -- therefore the 404
response = httpRequest(url: url, validResponseCodes: '100:404', quiet: true)
if (response.status == 200) {
return true
}
return false
return response.status == 200
}
}
}
Expand Down

0 comments on commit 1562307

Please sign in to comment.