PRH fail-fast setup

Issue-ID: INT-1027
Change-Id: I5bc92b1dc886dc0fbdfe06048b2f87aaf8b1d1c2
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
diff --git a/plans/dcaegen2/prh-testsuites/setup.sh b/plans/dcaegen2/prh-testsuites/setup.sh
index 31e2d98..46871fd 100644
--- a/plans/dcaegen2/prh-testsuites/setup.sh
+++ b/plans/dcaegen2/prh-testsuites/setup.sh
@@ -15,8 +15,10 @@
 pip uninstall -y docker-py
 pip uninstall -y docker
 pip install -U docker
-docker login -u docker -p docker https://nexus3.onap.org:10001
 
+set -e
+
+docker login -u docker -p docker https://nexus3.onap.org:10001
 docker-compose up -d --build
 
 # Extract docker images IPs
@@ -49,4 +51,4 @@
 wait_for_service_init localhost:8200/heartbeat
 
 # #Pass any variables required by Robot test suites in ROBOT_VARIABLES
-ROBOT_VARIABLES="-v DMAAP_SIMULATOR_SETUP:${DMAAP_SIMULATOR_IP}:2224 -v AAI_SIMULATOR_SETUP:${AAI_SIMULATOR_IP}:3335 -v CONSUL_SETUP:${CONSUL_IP}:8500"
+ROBOT_VARIABLES="-v DMAAP_SIMULATOR_SETUP:${DMAAP_SIMULATOR_IP}:2224 -v AAI_SIMULATOR_SETUP:${AAI_SIMULATOR_IP}:3335 -v CONSUL_SETUP:${CONSUL_IP}:8500"
\ No newline at end of file