我们在CVS中有一个分层组织的maven项目,我们正在使用jenkins来增加项目及其子模块中的maven版本。
我们遇到以下错误。
[cvs, commit, -m, Jenkins: 1.2-SNAPSHOT -> 1.3-SNAPSHOT] returned 1 in working directory /app/builds/jenkins/jenkinsdevhead/jobs/Test_Groovy_CreateNewBranch_Hierarch/workspace/maven-test-project-hierarch
Error output:
cvs commit: Examining .
cvs commit: Examining .settings
cvs commit: Examining maven-test-project-module1-hierarch
cvs commit: Examining maven-test-project-module1-hierarch/.settings
cvs commit: Examining maven-test-project-module1-hierarch/maven-test-project-module1-submodule1-hierarch
cvs commit: Examining maven-test-project-module1-hierarch/maven-test-project-module1-submodule1-hierarch/.settings
cvs commit: Examining maven-test-project-module1-hierarch/maven-test-project-module1-submodule1-hierarch/src
cvs commit: Examining maven-test-project-module1-hierarch/maven-test-project-module1-submodule1-hierarch/src/main
cvs commit: Examining maven-test-project-module1-hierarch/maven-test-project-module1-submodule1-hierarch/src/main/java
cvs commit: Examining maven-test-project-module1-hierarch/maven-test-project-module1-submodule1-hierarch/src/main/java/de
cvs commit: Examining maven-test-project-module1-hierarch/maven-test-project-module1-submodule1-hierarch/src/main/java/de/dwpbank
cvs commit: Examining maven-test-project-module1-hierarch/maven-test-project-module1-submodule1-hierarch/src/main/java/de/dwpbank/devinf
cvs commit: Examining maven-test-project-module1-hierarch/maven-test-project-module1-submodule1-hierarch/src/main/java/de/dwpbank/devinf/build
cvs commit: Examining maven-test-project-module1-hierarch/maven-test-project-module1-submodule1-hierarch/src/main/java/de/dwpbank/devinf/build/test
cvs commit: Examining maven-test-project-module1-hierarch/maven-test-project-module1-submodule1-hierarch/target
cvs commit: in directory `maven-test-project-module1-hierarch/maven-test-project-module1-submodule1-hierarch/target':
cvs [commit aborted]: there is no version here; do `cvs checkout' first
maven-test-project-module1-hierarchy中的.cvsignore如下
.settings
.project
target/
target
为什么提交不会忽略maven-test-project-module1-hierarch/maven-test-project-module1-submodule1-hierarch/target
?
我们在这里做错了什么?