From 461060697507255587373a4fe87a1eab8f2dd1d9 Mon Sep 17 00:00:00 2001 From: The_Spider Date: Mon, 31 Aug 2020 08:41:00 -0500 Subject: [PATCH] removes curl test. --- build-deluge.jenkins | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/build-deluge.jenkins b/build-deluge.jenkins index 34ae19d..83d6be9 100644 --- a/build-deluge.jenkins +++ b/build-deluge.jenkins @@ -77,19 +77,12 @@ if [[ "\${DIP}" == "\${KIP}" ]]; then exit 100 fi -printf '%s\n' "Checking connectivity (1 of 2)" +printf '%s\n' "Checking connectivity." ping -c 2 google.com > /dev/null if [[ "\${?}" != "0" ]]; then printf '%s\n' "No internet connectivity." exit 100 fi - -printf '%s\n' "Checking connectivity (2 of 2)" -curl --silent --fail --insecure https://www.msftncsi.com/ncsi.txt > /dev/null -if [[ "\${?}" != "0" ]]; then - printf '%s\n' "No internet connectivity." - exit 100 -fi """ def dockerfile = """FROM linuxserver/deluge:amd64-latest