我们正在尝试使用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相关还是文件系统有问题?
答案 0 :(得分:0)
问题是确实没有为此文件授予文件系统的写权限。因此出现错误消息Permission denied
。