修改shell脚本的变量无法取到值的问题

This commit is contained in:
raoxiaoyan 2020-11-02 10:36:18 +08:00
parent cab694b297
commit 12fcc54acf

View File

@ -14,6 +14,6 @@ cd ..
# package kongx-serve
echo "==== starting to build kongx ===="
mvn clean package -DskipTests -pl kongx-serve -am -Dspring_datasource_url=%kongx_serve_db_url% -Dspring_datasource_username=%kongx_serve_db_username% -Dspring_datasource_password=%kongx_serve_db_password%
mvn clean package -DskipTests -pl kongx-serve -am -Dspring_datasource_url=$kongx_serve_db_url -Dspring_datasource_username=$kongx_serve_db_username -Dspring_datasource_password=$kongx_serve_db_password
echo "==== building kongx finished ===="