Commit 007091c3 authored by David Siecinski's avatar David Siecinski

basic logging

parent 1c3adde6
Pipeline #52942 failed with stages
in 0 seconds
......@@ -4,6 +4,7 @@ set -u
CURL_STATUS=$(curl ${SERVICE_ENDPOINT} >/dev/null 2>&1; echo $?)
if test ${CURL_STATUS} -eq 0; then
logger "conection to ${SERVICE_ENDPOINT} was successful"
curl -X GET "${OPSGENIE_HEARTBEAT_API_URL}/${OPSGENIE_HEARTBEAT_NAME}/ping" \
--header "Authorization: GenieKey ${OPSGENIE_API_KEY}"
fi
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment