From 10efacba20b31ceb6c1502ced0808b7bcdb67e09 Mon Sep 17 00:00:00 2001 From: David Festal Date: Sat, 14 Oct 2017 14:56:50 +0200 Subject: [PATCH] Make error message clearer in the Keycloak s2i build... (#6740) Make error message clearer in the Keycloak s2i build. Signed-off-by: David Festal --- dockerfiles/init/s2i/keycloak/assemble | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dockerfiles/init/s2i/keycloak/assemble b/dockerfiles/init/s2i/keycloak/assemble index 5b39ad6537..f19e9caed3 100644 --- a/dockerfiles/init/s2i/keycloak/assemble +++ b/dockerfiles/init/s2i/keycloak/assemble @@ -9,7 +9,10 @@ set -e if [ "${CHE_SERVER_URL}" == "" ]; then - echo "the 'CHE_SERVER_URL' environment variable should be set to the external URL that gives access to CHE" + echo "The 'CHE_SERVER_URL' environment variable should be set to the external URL that gives access to CHE" + echo "However the build is expected to fail a first time just after deployment," + echo "since the expected variable is added after deployment in a second step." + echo "As soon as the variable is added to the build configuration, a second build should start and succeed." exit 1 fi