Revision d062ba79
Added by Andreas Kohlbecker over 10 years ago
src/main/jenkins-ci/copy-cdmserver-and-restart.sh | ||
---|---|---|
11 | 11 |
# ------------------------------------------------------------ |
12 | 12 |
|
13 | 13 |
#TARGET_DIR="/home/andreas/workspaces/_svn-trunk/cdm-server/target" |
14 |
if [ -z $TARGET_DIR ]; then
|
|
14 |
if [ -z "$TARGET_DIR" ]; then
|
|
15 | 15 |
TARGET_DIR="$WORKSPACE/cdm-server/target" |
16 | 16 |
fi |
17 |
if [ -z $CDMSERVER_HOME ]; then
|
|
17 |
if [ -z "$CDMSERVER_HOME" ]; then
|
|
18 | 18 |
CDMSERVER_HOME="/opt/cdmserver" |
19 | 19 |
fi |
20 | 20 |
echo "copy-cdmserver-and-restart:" |
... | ... | |
27 | 27 |
|
28 | 28 |
if [ ! -e $CDMSERVER_JAR ] |
29 | 29 |
then |
30 |
echo "cdmserver*.jar missing in target folder"
|
|
30 |
echo "cdmserver.*jar missing in target folder"
|
|
31 | 31 |
exit 1 |
32 | 32 |
fi |
33 | 33 |
|
Also available in: Unified diff
updating cdm server install script