Fail cookied-model-generator after the first fail

PROD-37143


Change-Id: If9fe5ae15eb325eb685f8fbe37d8c1c5bdbe6638
diff --git a/jobs/pipelines/cookied-model-generator.sh b/jobs/pipelines/cookied-model-generator.sh
index 3dd9b3c..bd998b0 100644
--- a/jobs/pipelines/cookied-model-generator.sh
+++ b/jobs/pipelines/cookied-model-generator.sh
@@ -1,4 +1,6 @@
+#!/bin/bash
 # export REMOTE_JENKINS='172.19.112.216'
+set -eo pipefail;
 export REMOTE_JENKINS='sre-ci.scc.mirantis.net'
 
 if [ ! -n "$LAB_CONTEXT_NAME" ]; then