Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目前我们正在从 cmd 提示符手动更改 pom 版本并提交到 git 分支。
我想在詹金斯配置这个版本更改
一旦成功,我想自动更改 jenkins 的 pom.xml 版本。我想将它从詹金斯推送到远程 git 分支。我们正在使用命令mvn version:set -Dnewversion=1.0.0来更改 pom 版本 谁能告诉我如何在 jenkins 中配置此命令并自动推送到远程 git 分支而无需手动交互