使用Jenkins更改POM.xml版本

时间:2019-02-05 11:36:11

标签: jenkins pom.xml

我希望使用以下命令行更改pom.xml的版本:

clean install -U --batch-mode release:update-versions -DautoVersionSubmodules=true -DdevelopmentVersion=$VERSION

但是我收到此错误消息:

Executing Maven:  -B -f /home/pl/workspace/FOLDER/pom.xml -s /tmp/settings8820167989418432711.xml clean install -U --batch-mode release:update-versions -DautoVersionSubmodules=true -DdevelopmentVersion=4.6.0
[...]
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
Waiting for Jenkins to finish collecting data
channel stopped
Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur.
Sending e-mails to: destination.destination@destination.destination
Finished: FAILURE

我忘记了配置吗?

0 个答案:

没有答案