Skip to content

Commit

Permalink
Making wget spider call silent
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Farley <[email protected]>
  • Loading branch information
adamfarley committed Nov 19, 2024
1 parent 58bb26e commit aa62d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/nightly_build_and_test_stats.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def getLatestBinariesTag(String version) {
// Calls wget with the given URL and returns the output.
// Returns an empty string if fails.
def callWgetSafely(String url) {
def testOutputRC = sh(returnStatus : true, returnStdout: false, script: "wget --spider ${url} > /dev/null")
def testOutputRC = sh(returnStatus : true, returnStdout: false, script: "wget --spider -q ${url} 2> /dev/null")
if ( testOutputRC != 0 ) {
echo "Warning: This URL's data could not be found, and is likely expired: ${url}"
return ""
Expand Down

0 comments on commit aa62d45

Please sign in to comment.