You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
-
- #定义子脚本的错误返回命令
- RTN="return"
-
-
- #调用当前脚本目录下 env.sh 脚本,设置环境变量,处理当前传入参数;
- source `dirname $0`/env.sh "$*"
-
- echo "主目录:$BASE_DIR"
-
- #判断是否忽略测试;
- if [ $SKIP_TESTS == 1 ]
- then
- echo "略过测试。。。"
- else
- #执行测试;
- source $TEST_SHELL
-
- #检查执行结果是否正常
- ERR=$?
- if [ $ERR != 0 ]
- then
- echo "构建过程中发生了集成测试错误[$ERR]!!终止构建!!"
- exit $ERR
- fi
- #结束集成测试错误检查;
- fi
-
-
- #执行打包构建;
- source $PACK_SHELL
-
- #检查执行结果是否正常
- ERR=$?
- if [ $ERR != 0 ]
- then
- echo "构建过程中发生了打包错误[$ERR]!!终止构建!!"
- exit $ERR
- fi
|