I'd check that the directory that cleartool is located at is on the PATH
for the user than runs Jenkins.

Richard

On Wednesday, September 4, 2013, Larry Brigman wrote:

> I'm trying to use the jenkins clearcase plugin (1.3.19) in linux from a
> machine
> that functions in clearcase.
> This machine is doing manual builds from the command line without issue.
> I'm using dynamic views to do these builds.
>
> Even with everything looking configured correctly it looks like things are
> just wrong.
> Here is the error output:
>
> Building in workspace /var/lib/jenkins/jobs/top_main/workspace
> [WARNING] load rules are empty!
> [workspace] $ cleartool lsview Jenkins_jenkins_master_top_main
> [INFO] computeChangeLogBeforeCheckout = false
> [INFO] computeChangeLogAfterCheckout  = true
> [workspace] $ cleartool lsview Jenkins_jenkins_master_top_main
> [workspace] $ cleartool mkview -tag Jenkins_jenkins_master_top_main -stgloc 
> -auto
> java.io.IOException: Cannot run program "cleartool" (in directory 
> "/var/lib/jenkins/jobs/top_main/workspace"): java.io.IOException: error=2, No 
> such file or directory
>       at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)
>       at hudson.Proc$LocalProc.<init>(Proc.java:244)
>       at hudson.Proc$LocalProc.<init>(Proc.java:216)
>       at hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
>       at hudson.Launcher$ProcStarter.start(Launcher.java:353)
>       at 
> hudson.plugins.clearcase.HudsonClearToolLauncher.getLaunchedProc(HudsonClearToolLauncher.java:157)
>       at 
> hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:115)
>       at hudson.plugins.clearcase.ClearToolExec.mkview(ClearToolExec.java:661)
>       at 
> hudson.plugins.clearcase.action.BaseDynamicCheckoutAction.createView(BaseDynamicCheckoutAction.java:129)
>       at 
> hudson.plugins.clearcase.action.BaseDynamicCheckoutAction.checkout(BaseDynamicCheckoutAction.java:72)
>       at 
> hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:666)
>       at hudson.model.AbstractProject.checkout(AbstractProject.java:1408)
>       at 
> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676)
>       at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
>       at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581)
>       at hudson.model.Run.execute(Run.java:1603)
>       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>       at hudson.model.ResourceController.execute(ResourceController.java:88)
>       at hudson.model.Executor.run(Executor.java:247)
> Caused by: java.io.IOException: java.io.IOException: error=2, No such file or 
> directory
>       at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
>       at java.lang.ProcessImpl.start(ProcessImpl.java:65)
>       at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
>
>
> I admit that I probably am missing a configuration option but I haven't
> found it
> within the base config or in the project config.
> Any help in getting this running would be appreciated.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:_e({},
> 'cvml', 'jenkinsci-users%[email protected]');>.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to