From 0702ffc71be2d763bbba19442924f28d5758d560 Mon Sep 17 00:00:00 2001 From: Yiming Liu Date: Tue, 17 May 2016 12:01:47 +0800 Subject: [PATCH] Update jenkins build script --- apollo-assembly/src/main/resources/META-INF/app.properties | 2 ++ apollo-buildtools/src/main/scripts/deploy_jenkins.sh | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 apollo-assembly/src/main/resources/META-INF/app.properties diff --git a/apollo-assembly/src/main/resources/META-INF/app.properties b/apollo-assembly/src/main/resources/META-INF/app.properties new file mode 100644 index 00000000000..842b3e040fb --- /dev/null +++ b/apollo-assembly/src/main/resources/META-INF/app.properties @@ -0,0 +1,2 @@ +app.id=100003171 +jdkVersion=1.8 diff --git a/apollo-buildtools/src/main/scripts/deploy_jenkins.sh b/apollo-buildtools/src/main/scripts/deploy_jenkins.sh index 6aa74ee909c..ce8f388a665 100644 --- a/apollo-buildtools/src/main/scripts/deploy_jenkins.sh +++ b/apollo-buildtools/src/main/scripts/deploy_jenkins.sh @@ -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_SHUTDOWN_SCRIPT=$APP_DIR/scripts/shutdown.sh +chmod +x $APP_SHUTDOWN_SCRIPT if [ -e $APP_STARTUP_SCRIPT ];then $APP_SHUTDOWN_SCRIPT fi @@ -43,7 +44,5 @@ fi ln -s $APP_RELEASE_DIR $APP_DIR chmod +x $APP_STARTUP_SCRIPT -chmod +x $APP_SHUTDOWN_SCRIPT -$APP_SHUTDOWN_SCRIPT $APP_STARTUP_SCRIPT wait