message: stop if any of the data loading commands fails
diff: #!/bin/bash
  +# make sure we stop if we fail
  +set -eo pipefail
  +
  # Create an JWT Admin Token to talk to the API
  API_ADMIN_JWT_TOKEN=$(./create_jwt.sh)
  BEARER="Authorization: bearer $API_ADMIN_JWT_TOKEN"
  @@ -49,6 +52,9 @@ ALL_ENVIRONMENT_HITS=$(curl -s -u "admin:$LOGSDB_ADMIN_PASSWORD" -XGET "http://l
  }
  }' | jq '.aggregations.group_by_openshift_project.buckets')
  +# All data successfully loaded, now we don't want to fail anymore if a single idleing fails
  +set +eo pipefail
  +
  # Filter only projects that actually have an environment
  # Loop through each found project
  echo "$DEVELOPMENT_ENVIRONMENTS" | jq -c '.data.developmentEnvironments[] | select((.environments|length)>=1)' | while read project
  