Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-1631

cleartool setview not supported on windows environments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • clearcase-plugin
    • None
    • Platform: All, OS: All

      Hi,

      I've noticed that the current version 0.5 of the clearcase plugin attempts to
      use the 'cleartool setview' command. This command is supported on unix
      environments, but however not on windows..

      The example error is generated:

      started
      [workspace] $ cleartool setview ms3357_build_t4_int_2_dyn
      cleartool: Error: Unrecognized command: "setview"
      FATAL: Base ClearCase failed. exit code=1
      FATAL: cleartool did not return the expected exit code. Command line="cleartool
      setview ms3357_build_t4_int_2_dyn", actual exit code=1
      java.io.IOException: cleartool did not return the expected exit code. Command
      line="cleartool setview ms3357_build_t4_int_2_dyn", actual exit code=1
      at hudson.plugins.clearcase.HudsonClearToolLauncher.run
      (HudsonClearToolLauncher.java:64)
      at hudson.plugins.clearcase.ClearToolDynamic.setView
      (ClearToolDynamic.java:53)
      at hudson.plugins.clearcase.action.DynamicCheckoutAction.checkout
      (DynamicCheckoutAction.java:28)
      at hudson.plugins.clearcase.AbstractClearCaseScm.checkout
      (AbstractClearCaseScm.java:133)
      at hudson.plugins.clearcase.AbstractClearCaseScm.checkout
      (AbstractClearCaseScm.java:113)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:566)
      at hudson.model.AbstractBuild$AbstractRunner.checkout
      (AbstractBuild.java:244)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:218)
      at hudson.model.Run.run(Run.java:751)
      at hudson.model.Build.run(Build.java:102)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:71)

            redsolo redsolo
            markschulze markschulze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: