-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Platform: All, OS: All
Hi,
I will use hudson to generate release of my project.
To release project I use maven release plugin, and when I execute this plugin
, I have an cvs commit error.
Maiby it where a cool featur tu have the possibily to generate release with the
release version in an input page.
It's working with -A parameter in cvs command in replacement of -D "..."
maven log
started
[sqi-common-release] $ cvs -Q -z3 -d :pserver:scusin@localhost:/localcvs co -P
-d workspace -D "Monday, August 13, 2007 9:10:50 AM UTC" SQ_market_info/common
$ no changes detected
[workspace] $ /home/scusin/downloads/maven/maven-2.0.6/bin/mvn release:clean
release:prepare release:perform
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO] ----------------------------------------------------------------------------
[INFO] Building SQI Common
[INFO] task-segment: [release:clean, release:prepare, release:perform]
(aggregator-style)
[INFO] ----------------------------------------------------------------------------
[INFO] [release:clean]
[INFO] Cleaning up after release...
[INFO] [release:prepare]
[INFO] Verifying that there are no local modifications...
[INFO] Executing: cvs -z3 -f -d :pserver:scusin@localhost:/localcvs -n -q update -d
[INFO] Working directory: /home/scusin/.hudson/jobs/sqi-common-release/workspace
[INFO] Checking dependencies and plugins for snapshots ...
What is the release version for "SQI Common"? (com.swissquote:sqi-common) 2.0.6:
: What is SCM release tag or label for "SQI Common"? (com.swissquote:sqi-common)
sqi-common-2_0_6: : What is the new development version for "SQI Common"?
(com.swissquote:sqi-common) 2.0.7-SNAPSHOT: : [INFO] Transforming 'SQI Common'...
[INFO] Not generating release POMs
[INFO] Executing goals 'clean verify'...
[INFO] Executing: mvn clean verify --no-plugin-updates -P alwaysActiveProfile
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building SQI Common
[INFO] task-segment: [clean, verify]
[INFO]
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
/home/scusin/.hudson/jobs/sqi-common-release/workspace/target
[INFO] Deleting directory
/home/scusin/.hudson/jobs/sqi-common-release/workspace/target/classes
[INFO] Deleting directory
/home/scusin/.hudson/jobs/sqi-common-release/workspace/target/test-classes
[INFO] Deleting directory
/home/scusin/.hudson/jobs/sqi-common-release/workspace/target/site
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 1 source file to
/home/scusin/.hudson/jobs/sqi-common-release/workspace/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to
/home/scusin/.hudson/jobs/sqi-common-release/workspace/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
/home/scusin/.hudson/jobs/sqi-common-release/workspace/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.swissquote.sqi.common.TestDepUtil
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
[INFO] Building jar:
/home/scusin/.hudson/jobs/sqi-common-release/workspace/target/sqi-common-2.0.6.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Mon Aug 13 11:10:57 CEST 2007
[INFO] Final Memory: 5M/9M
[INFO] ------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] Executing: cvs -z3 -f -q commit -R -F /tmp/scm-commit-message42928.txt
pom.xml
[INFO] Working directory: /home/scusin/.hudson/jobs/sqi-common-release/workspace
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to commit files
Provider message:
The cvs command failed.
Command output:
cvs commit: cannot commit with sticky date for file `pom.xml'
cvs [commit aborted]: correct above errors first!
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Mon Aug 13 11:10:58 CEST 2007
[INFO] Final Memory: 4M/9M
[INFO] ------------------------------------------------------------------------
finished: FAILURE
- duplicates
-
JENKINS-229 CVS update/checkout has sticky date set
- Closed