diff --git a/Jenkinsfile b/Jenkinsfile index 1986b2f..ca3c913 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -207,8 +207,9 @@ pipeline { script { colourText("info","Checking deployed app health...") colourText("info","Pinging ${env.APP_URL}/api/health...") + // We use --insecure to ignore certificate issues APP_STATUS = sh ( - script: "curl -sL -w '%{http_code}' '${env.APP_URL}/api/health' -o /dev/null", + script: "curl --insecure -sL -w '%{http_code}' '${env.APP_URL}/api/health' -o /dev/null", returnStdout: true ).trim() colourText("info", "APP_STATUS: ${APP_STATUS}")