【发布时间】:2023-04-04 00:21:01
【问题描述】:
我们正在尝试使用 Maven 发布插件自动化我们的构建。我们也在使用 Jenkins 和 CVS。
不幸的是,我们在分支项目时遇到错误:
[INFO] Branching release with the label test_branch_jenkins...
[INFO] Executing: /bin/sh -c cd "/data/jenkins/jenkinshome/workspace/Test release plugin with test project/our-project-parent" && cvs -z3 -f -q tag -b -F -c test_branch_jenkins
[INFO] Working directory: /data/jenkins/jenkinshome/workspace/Test release plugin with test project/our-project-parent
[…]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:branch (default-cli) on project our-project-parent: Unable to branch SCM
[ERROR] Provider message:
[ERROR] The cvs branch command failed.
[ERROR] Command output:
[ERROR] cvs [tag aborted]:
could not open lock file `/srv/cvsrepo/our-project-parent/our-project-frontend/src/main/resources/META-INF/,MANIFEST.MF,':
Permission denied
您知道这里可能存在什么问题吗?是 CVS 相关还是文件系统有问题?
【问题讨论】:
标签: maven jenkins file-permissions cvs maven-release-plugin