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

The parsing of "baselines desc" command fails when cleartool error occured

    XMLWordPrintable

    Details

    • Type: Patch
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: clearcase-plugin
    • Labels:
      None
    • Environment:
      Clearcase Plugin 1.3
    • Similar Issues:

      Description

      See following logs:

      Started by an SCM change
      Building on master
      [workspace] $ cleartool desc -fmt %[found_bls]p\n stream:MARTIN_1.0_dev@\ice_p
      cleartool: Error: Not a vob object: "7eb79fb9.6465497a.8233.68:17:2d:bb:b1:c8".
      MARTIN_1.0_02_07_2010_AfterDelivery
      [workspace] $ cleartool desc -fmt %[component]p\n baseline:cleartool:@\ice_p
      cleartool: Error: Baseline not found: "cleartool:".

      FATAL: UCM ClearCase failed. exit code=1
      java.io.IOException: cleartool did not return the expected exit code. Command line="desc -fmt %[component]p\n baseline:cleartool:@\ice_p", actual exit code=1
      at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:107)
      at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:70)
      at hudson.plugins.clearcase.ClearToolExec.describe(ClearToolExec.java:88)
      at hudson.plugins.clearcase.ucm.UcmCommon.getBaselinesDesc(UcmCommon.java:197)
      at hudson.plugins.clearcase.ucm.UcmCommon.getFoundationBaselines(UcmCommon.java:174)
      at hudson.plugins.clearcase.ClearCaseUcmSCM.createRevisionState(ClearCaseUcmSCM.java:172)
      at hudson.plugins.clearcase.ClearCaseUcmSCM.calcRevisionsFromBuild(ClearCaseUcmSCM.java:159)
      at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:457)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1038)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
      at hudson.model.Run.run(Run.java:1257)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:318)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:129)

      If there is a clearcase problem, the plugin parse the cleartool error as result and failed ("cleartool:" is not a good baseline).

      See attachment for a fix.

        Attachments

          Activity

          Hide
          vlatombe Vincent Latombe added a comment -

          Applied. Thanks !

          Show
          vlatombe Vincent Latombe added a comment - Applied. Thanks !
          Hide
          vlatombe Vincent Latombe added a comment -

          Released in 1.3.1

          Show
          vlatombe Vincent Latombe added a comment - Released in 1.3.1

            People

            • Assignee:
              vlatombe Vincent Latombe
              Reporter:
              juherr juherr
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: