Closed hailiang-wang closed 9 years ago
可能是因为我手动 gulp build的缘故?怎么让Jenkins 重新自动stage
http://jenkins.arrking.com/jenkins
用户名:admin 密码:joifrojQuac4
job: http://jenkins.arrking.com/jenkins/job/update_austack_on_musa/
更新脚本 (1) 进入 configure
(2) 修改脚本
Script Backup.
APP_HOME=/root/git/austack
SERVER=$APP_HOME/server
CLIENT=$APP_HOME/client
export NODE_ENV=production
# pull codes
cd $APP_HOME
git checkout develop .
git pull
npm install
bower install --allow-root
gulp clean
gulp build
echo ">> start server.."
cd $APP_HOME
CIT_ID=`git rev-parse HEAD`
export AUSTACK_DATABASE_URL="mongodb://peter:Be8s2fsisOdWy@115.28.162.221:27088/austackdb"
pm2 restart austack-server
# disable sync to qiniu
# /root/bin/qrsync qiniu_cfg/austack-stg-client.json
MAIL_SUBJECT="[austack-core] build $BUILD_NUMBER @ $BUILD_ID is done."
$MAIL --recipients=e26156efd1b4792215b6c31b5bbdc57f@mail.bearychat.com --subject="$MAIL_SUBJECT" --content="Codes https://github.com/arrking/austack-core/commit/$CIT_ID , Build URL: $BUILD_URL , Service URL: http://console.austack.com"
lyman 提交了之后 Jenkins 重启了,现在可以。。
Description
After fixing #97, get another error. This should be the configuration error.