【发布时间】:2020-03-05 07:28:20
【问题描述】:
我正在使用 Maven jfrog 插件:https://jenkins.io/doc/pipeline/steps/artifactory/#rtmavendeployer-set-maven-deployer
我想在部署时更改工件的版本,以便其中包含功能分支名称。
我尝试运行设定的版本目标。它成功了,但完全忽略了版本
rtMavenRun (
pom: "pom.xml",
goals: 'versions:set -DnewVersion=1.2.3-SNAPSHOT clean install',
resolverId: 'resolver-unique-id',
deployerId: 'deployer-unique-id'
)
【问题讨论】:
标签: maven jenkins artifactory jfrog-cli