Hi,

I have installed hudson on windows and running as windows service.
Configured hudson with cvs and able to checkout from cvs. After
completing checkout there is an issue in compute changelog.

os: windows
hudson: 2.2.0
cvs executables : 1.12.13 (client/server)
cvs plugin installed (default): 2.2.0

Error message:

[BuildSource] $ cvs -Q -z3 -d user@host:/path co -P -r branch -N -d
workspace -D "Friday, August 10, 2012 3:08:26 PM UTC" module
$ computing changelog
cvs [log aborted]: cannot find >=2012-08-09 19:39: No such file or
directory
ERROR: cvs exited with error code 1
Command line was [Executing 'cvs' with arguments:
'-duser@host:/path'
'log'
'-rbranch'
'-d'
'>=2012-08-09 19:39'
'module'

The ' characters around the executable and arguments are
not part of the command.
] in D:\Hudson\Workspace\BuildSource
Input text:
START==>null<==END
Working directory is D:\Hudson\Workspace\BuildSource
cvs exited with error code 1
Command line was [Executing 'cvs' with arguments:
'-duser@host:/path'
'log'
'-rbranch'
'-d'
'>=2012-08-09 19:39'
'module'

The ' characters around the executable and arguments are
not part of the command.
] in D:\Hudson\Workspace\BuildSource
Input text:
START==>null<==END
        at
hudson.org.apache.tools.ant.taskdefs.AbstractCvsTask.runCommand(AbstractCvsTask.java:
402)
        at
hudson.org.apache.tools.ant.taskdefs.AbstractCvsTask.execute(AbstractCvsTask.java:
461)
        at
hudson.org.apache.tools.ant.taskdefs.cvslib.ChangeLogTask.execute(ChangeLogTask.java:
308)
        at hudson.scm.CVSSCM$4.invoke(CVSSCM.java:1086)
        at hudson.scm.CVSSCM$4.invoke(CVSSCM.java:1010)
        at hudson.FilePath.act(FilePath.java:758)
        at hudson.FilePath.act(FilePath.java:740)
        at hudson.scm.CVSSCM.getChangelog(CVSSCM.java:1010)
        at hudson.scm.CVSSCM.calcChangeLog(CVSSCM.java:967)
        at hudson.scm.CVSSCM.checkout(CVSSCM.java:329)
        at hudson.model.AbstractProject.checkout(AbstractProject.java:1479)
        at hudson.model.AbstractBuild
$AbstractRunner.checkout(AbstractBuild.java:507)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:
424)
        at hudson.model.Run.run(Run.java:1366)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:
88)
        at hudson.model.Executor.run(Executor.java:145)
[DEBUG] Skipping watched dependency update for build: TestProject3 #37
due to result: FAILURE
Finished: FAILURE


when i run the following on command prompt,  got error as "cvs [log
aborted]: Can't parse date/time: 19:39".
command: cvs -duser@host:/path log -rbranch -d >=2012-08-10 19:39
module

when i run the following on command prompt,  able to calculate the
changelog (but log saved as "2012-08-10 19" without any content) .
command: cvs -d user@host:/path log -r branch -d >="2012-08-10 19:39"
module

I have tried and confused with DATE_FORMAT, TimeZone stuffs..
In "[BuildSource] $ cvs -Q -z3 -d user@host:/path co -P -r branch -N -
d workspace -D "Friday, August 10, 2012 3:08:26 PM UTC" module" time
zone has shown as "UTC", but my local system timezone is "GMT". And
I'm not clear about how hudson picks up command arguments like -Q , -
z3 , -P etc defaultly.

As referred i couldn't find checkbox to "disable" compute changelog
(for all jobs / per project). Please give me the clear steps to
"disable changelog" as well. I have googled as "There is a JVM option
"hudson.scm.CVSSCM.skipChangeLog" set to "true" to disable it", but i
have no idea about JVM.

Please help me, i'm sufferring with this more than a week. Thanks in
advance.
-Mohan.

Reply via email to