...
|
...
|
@@ -225,13 +225,13 @@ package(){ |
|
|
echo "current path is " `pwd`
|
|
|
echo "result cmd is sh $ROJECT_SOURCE_BRANCH_DIR/bin/mvn-package.sh $AUTOCONFIG_HOME/${APP_NAME}-autoconfig.properties $AUTOCONFIG_HOME/global-autoconfig.properties"
|
|
|
|
|
|
result=`sh $ROJECT_SOURCE_BRANCH_DIR/bin/mvn-package.sh $AUTOCONFIG_HOME/${APP_NAME}-autoconfig.properties $AUTOCONFIG_HOME/global-autoconfig.properties`
|
|
|
echo "result = $result"
|
|
|
if [[ "$result" =~ "FAILURE" ]] && [[ "$result" =~ "ERROR" ]];then
|
|
|
PACKAGE_RESULT="FAILED"
|
|
|
else
|
|
|
PACKAGE_RESULT="SUCCESS"
|
|
|
fi
|
|
|
sh $ROJECT_SOURCE_BRANCH_DIR/bin/mvn-package.sh $AUTOCONFIG_HOME/${APP_NAME}-autoconfig.properties $AUTOCONFIG_HOME/global-autoconfig.properties
|
|
|
#echo "result = $result"
|
|
|
#if [[ "$result" =~ "FAILURE" ]] && [[ "$result" =~ "ERROR" ]];then
|
|
|
# PACKAGE_RESULT="FAILED"
|
|
|
# else
|
|
|
# PACKAGE_RESULT="SUCCESS"
|
|
|
#fi
|
|
|
echo "[INFO] package application finish."
|
|
|
|
|
|
###commit autoconfig
|
...
|
...
|
|