mvn clean test
rc=$?
if [[ $rc -ne '0' ]] ; then
echo 'could not perform tests'; exit $rc
fi
判断mvn命令是否成功
最新推荐文章于 2022-09-04 14:56:17 发布
mvn clean test
rc=$?
if [[ $rc -ne '0' ]] ; then
echo 'could not perform tests'; exit $rc
fi