summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2020-02-07 13:52:07 +0100
committerPatrick Steinhardt <ps@pks.im>2020-02-07 13:56:33 +0100
commit52cb4040f3b185746de3ed9fd1a5251239c5a9a9 (patch)
tree6b2eb747e806778300baf520c1eecc97600e20e5
parenta3ec07d73774fb8f311a6ef4eb4f0d48a5addc1c (diff)
downloadlibgit2-52cb4040f3b185746de3ed9fd1a5251239c5a9a9.tar.gz
azure: test: silence curl to not cause Azure to trop
Without the "--silent" parameter, curl will print a progress meter to stderr. Azure has the nice feature of interpreting any output to stderr as errors with a big red warning towards the end of the build. Let's thus silence curl to not generate any misleading messages.
-rwxr-xr-xazure-pipelines/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/azure-pipelines/test.sh b/azure-pipelines/test.sh
index dfd9960ec..c6c89c6b7 100755
--- a/azure-pipelines/test.sh
+++ b/azure-pipelines/test.sh
@@ -84,7 +84,7 @@ if [ -z "$SKIP_GITDAEMON_TESTS" ]; then
fi
if [ -z "$SKIP_PROXY_TESTS" ]; then
- curl -L https://github.com/ethomson/poxyproxy/releases/download/v0.7.0/poxyproxy-0.7.0.jar >poxyproxy.jar
+ curl --location --silent https://github.com/ethomson/poxyproxy/releases/download/v0.7.0/poxyproxy-0.7.0.jar >poxyproxy.jar
echo ""
echo "Starting HTTP proxy (Basic)..."
@@ -96,7 +96,7 @@ if [ -z "$SKIP_PROXY_TESTS" ]; then
fi
if [ -z "$SKIP_NTLM_TESTS" ]; then
- curl -L https://github.com/ethomson/poxygit/releases/download/v0.4.0/poxygit-0.4.0.jar >poxygit.jar
+ curl --location --silent https://github.com/ethomson/poxygit/releases/download/v0.4.0/poxygit-0.4.0.jar >poxygit.jar
echo ""
echo "Starting HTTP server..."