Jenkins 如何跳过 Maven-antrun-plugin 以使用命令在 Maven 构建中执行 build.xml 文件
Jenkins how to skip Maven-antrun-plugin to executing build.xml files in maven build with command
我想跳过在我的 Jenkins 工作区中编译 ant build.xml
文件,就像跳过 Java 测试命令参数:
-Dmaven.test.skip=true
此命令未跳过 ant 构建脚本:
-Dmaven.test.skip=true clean install
有人可以在这方面帮助我吗?
要跳过 pom.xml 中的 maven-antrun-plugin,请使用 -Dmaven.antrun.skip=true
。
我想跳过在我的 Jenkins 工作区中编译 ant build.xml
文件,就像跳过 Java 测试命令参数:
-Dmaven.test.skip=true
此命令未跳过 ant 构建脚本:
-Dmaven.test.skip=true clean install
有人可以在这方面帮助我吗?
要跳过 pom.xml 中的 maven-antrun-plugin,请使用 -Dmaven.antrun.skip=true
。