100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Improve final HTTP status code test
Rich Turnerb6f8be845d12
diff --git a/.ci_cd/deploy.sh b/.ci_cd/deploy.shindex bc73d026f..ee7662fdb 100644--- a/.ci_cd/deploy.sh+++ b/.ci_cd/deploy.sh@@ -456,8 +456,15 @@ fiecho "Testing manager web server https://$OR_HOSTNAME..."response=$(curl --output /dev/null --silent --head --write-out "%{http_code}" https://$OR_HOSTNAME/manager/)+count=0+while [[ $response -ne 200 ]] && [ $count -lt 12 ]; do+ echo "https://$OR_HOSTNAME/manager/ RESPONSE CODE: $response...Sleeping 5 seconds"+ sleep 5+ response=$(curl --output /dev/null --silent --head --write-out "%{http_code}" https://$OR_HOSTNAME/manager/)+ count=$((count+1))+done+if [ $response -ne 200 ]; then- echo "Response code = $response"revoke_sshexit 1fi