【发布时间】:2016-10-12 06:40:07
【问题描述】:
我正在尝试创建 Jenkins 作业,该作业使用 maven-release-plugin 在我的项目上执行发布。 Jenkins 工作的第一步是通过标记 x-x-x 从 CVS 结帐。问题是,当 maven-release-plugin 更改 pom.xml 中的版本并尝试将文件提交到 CVS 时,提交失败(不是标记),因为结帐期间使用的标记不是分支标记:
cvs commit: sticky tag `x-x-x' for file `pom.xml' is not a branch
我想避免仅仅为了满足 maven-release-plugin 为 pom.xml 创建分支标签。还有其他方法吗?
【问题讨论】:
-
你为什么不想在 CVS 上标记你的发布?
-
反其道而行之?使用发布插件为您创建标签?
-
@Tunaki 我想标记发布,因为我正在尝试以发布 maven-release-plugin 方式,目标准备步骤之一是“使用版本名称标记 SCM 中的代码”,见maven.apache.org/maven-release/maven-release-plugin/examples/…
-
@gtonic 问题不在标记期间,问题是在提交期间的前一步
标签: maven jenkins cvs maven-release-plugin