Commit 0702ffc7 by Yiming Liu

Update jenkins build script

parent 3cef854c
...@@ -30,6 +30,7 @@ APP_RELEASE_DIR=$APP_BASE_DIR/apollo-$APP_NAME.releases/`date "+%Y-%m-%d.%H.%M.% ...@@ -30,6 +30,7 @@ APP_RELEASE_DIR=$APP_BASE_DIR/apollo-$APP_NAME.releases/`date "+%Y-%m-%d.%H.%M.%
APP_STARTUP_SCRIPT=$APP_DIR/scripts/startup.sh APP_STARTUP_SCRIPT=$APP_DIR/scripts/startup.sh
APP_SHUTDOWN_SCRIPT=$APP_DIR/scripts/shutdown.sh APP_SHUTDOWN_SCRIPT=$APP_DIR/scripts/shutdown.sh
chmod +x $APP_SHUTDOWN_SCRIPT
if [ -e $APP_STARTUP_SCRIPT ];then if [ -e $APP_STARTUP_SCRIPT ];then
$APP_SHUTDOWN_SCRIPT $APP_SHUTDOWN_SCRIPT
fi fi
...@@ -43,7 +44,5 @@ fi ...@@ -43,7 +44,5 @@ fi
ln -s $APP_RELEASE_DIR $APP_DIR ln -s $APP_RELEASE_DIR $APP_DIR
chmod +x $APP_STARTUP_SCRIPT chmod +x $APP_STARTUP_SCRIPT
chmod +x $APP_SHUTDOWN_SCRIPT
$APP_SHUTDOWN_SCRIPT
$APP_STARTUP_SCRIPT $APP_STARTUP_SCRIPT
wait wait
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment