Skip to content

Commit

Permalink
Update jenkins build script
Browse files Browse the repository at this point in the history
  • Loading branch information
yiming187 committed May 17, 2016
1 parent 3cef854 commit 0702ffc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions apollo-assembly/src/main/resources/META-INF/app.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
app.id=100003171
jdkVersion=1.8
3 changes: 1 addition & 2 deletions apollo-buildtools/src/main/scripts/deploy_jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 0702ffc

Please sign in to comment.