是编码问题,在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
drone pipeline build时报错unmappable character for encoding ASCII
最新推荐文章于 2022-07-07 15:38:48 发布