-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
Platform: PC, OS: Windows XP
I am just starting to set up Hudson to work with ClearCase and I am getting the
following console output when I build:
Started by user anonymous
[IFC] $ cleartool startview tla_vu
[IFC] $ cleartool catcs -tag tla_vu
element * CHECKEDOUT
element * .../tla_dev/LATEST
element * /main/LATEST -mkbranch tla_dev
[tla_vu] cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000 -fmt '\"%N\"
\"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -nco M:\tla_vu\files
FATAL: CreateProcess: cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000
-fmt "\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n" -nco M:\tla_vu\files
error=267
java.io.IOException: CreateProcess : cleartool lshistory -r -since
23-apr-09.18:05:56utc+0000 -fmt "\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\"
\n%c\n" -nco M:\tla_vu\files error=267
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at hudson.Proc$LocalProc.<init>(Proc.java:132)
at hudson.Proc$LocalProc.<init>(Proc.java:110)
at hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:359)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:342)
at
hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:66)
at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:64)
at
hudson.plugins.clearcase.history.AbstractHistoryAction.runLsHistory(AbstractHistoryAction.java:57)
at
hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges(AbstractHistoryAction.java:43)
at
hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:274)
at hudson.model.AbstractProject.checkout(AbstractProject.java:808)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266)
at hudson.model.Run.run(Run.java:899)
at hudson.model.Build.run(Build.java:112)
at hudson.model.ResourceController.execute(ResourceController.java:93)
at hudson.model.Executor.run(Executor.java:119)
I'm not sure what the problem is, but I noticed that the format passed with the
"-fmt" tag is enclosed with single quotes (') on the output line that start with
[tla_vu] and double quotes (") on the two error lines. If I copy and paste the
lshistory command with the double quotes into a cmd window, the command runs
properly. If I use the command with the single quotes, I get the following error:
cleartool: Error: Unable to access ""%u"": Filename too long.
cleartool: Error: Unable to access ""%En"": Filename too long.
cleartool: Error: Unable to access ""%Vn"": Filename too long.
cleartool: Error: Unable to access ""%e"": Filename too long.
cleartool: Error: Unable to access ""%o"": Filename too long.
cleartool: Error: Unable to access "\n%c\n'": ClearCase object not found.
cleartool: Error: Unable to access "-nco": No such file or directory
I am having the same problem with versions 0.8.1 and 0.8.2 of the plugin.
Thanks for making such a great (and free) tool. Any help would be appreciated.
Thanks.
-Stuart