Make error message clearer in the Keycloak s2i build... (#6740)

Make error message clearer in the Keycloak s2i build.

Signed-off-by: David Festal <dfestal@redhat.com>
6.19.x
David Festal 2017-10-14 14:56:50 +02:00 committed by Roman Iuvshyn
parent a2b4d732a5
commit 10efacba20
1 changed files with 4 additions and 1 deletions

View File

@ -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