add color support in sslproxy Jenkinsfile, and removed curl flag for no progress meter.

This commit is contained in:
2020-06-06 22:32:33 -04:00
parent 21a48d3d4d
commit 72f9dfc576
4 changed files with 17 additions and 5 deletions

View File

@@ -78,7 +78,7 @@ function assertOK() {
domain=$2
set -e
echo -e "\033[94m${proto}://${domain}\033[39m"
curl --no-progress-meter -IskH "Host: ${domain}" "${proto}://dkhost.xai-corp.net" \
curl -IskH "Host: ${domain}" "${proto}://dkhost.xai-corp.net" \
| tee "$LOG" | grep -P "200 OK|302 Found|403 Forbidden"
}