Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Fix bug 967439 - improve jenkins client message
Browse files Browse the repository at this point in the history
  • Loading branch information
liggitt committed May 29, 2013
1 parent bb74981 commit 7a2f96f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ setup_embedded_configure "$1" $2 $3

if ! [ -f "$APP_HOME/.env/JENKINS_URL" ]
then
client_error "Jenkins server does not exist! Please create with rhc app create -t jenkins-1.4"
client_error "A Jenkins server does not exist in this domain!"
client_error "You must create a Jenkins server before configuring this cartridge."
exit 151
fi
if [ -f "$APP_HOME/.env/OPENSHIFT_CI_TYPE" ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ source $OPENSHIFT_CARTRIDGE_SDK_BASH

if [ -z "$JENKINS_URL" ]
then
client_error "Jenkins server does not exist! Please create with rhc app create -t jenkins-1.4"
client_error "A Jenkins server does not exist in this domain!"
client_error "You must create a Jenkins server before installing this cartridge."
exit 151
fi

Expand Down

0 comments on commit 7a2f96f

Please sign in to comment.