是编码问题,在pipeline命令中加- export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
位置如下:
build:
image: ********:1.0.1
pull: true
commands:
- export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
- mvn clean package -DskipTests
参考文献
https://blog.csdn.net/weixin_39278265/article/details/89386658