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

clearcase: Deleting branch causes build failure in clearcase plugin

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • clearcase-plugin
    • None
    • Platform: All, OS: All

      Hudson 314, clearcase plugin 0.9

      Deleting a branch on a file now causes a build failure in the clearcase plugin. This did not happen with the 0.8.3 plugin that we previously used.

      "20090724.090019" "user1" "vobs/proj/com/foo/extractor/Extractor.java" "/main/sne_rxx_i" "destroy sub-branch "proj_rxx_dev" of branch" "rmbranch" ""
      Destroyed branch "\main\proj_rxx_i\proj_rxx_dev".

      cleartool: Error: activity not found: "".
      FATAL: UCM ClearCase failed. exit code=1
      FATAL: cleartool did not return the expected exit code. Command line="lsactivity -fmt \"%[headline]p\" \"%[stream]p\" \"%u\" \n ", actual exit code=1
      java.io.IOException: cleartool did not return the expected exit code. Command line="lsactivity -fmt \"%[headline]p\" \"%[stream]p\" \"%u\" \n ", actual exit code=1
      at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100)
      at hudson.plugins.clearcase.ClearToolExec.lsactivity(ClearToolExec.java:109)
      at hudson.plugins.clearcase.ucm.UcmHistoryAction.callLsActivity(UcmHistoryAction.java:144)
      at hudson.plugins.clearcase.ucm.UcmHistoryAction.buildChangelog(UcmHistoryAction.java:130)
      at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges(AbstractHistoryAction.java:70)
      at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:296)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:830)
      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:938)
      at hudson.model.Build.run(Build.java:112)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:118)

          [JENKINS-4099] clearcase: Deleting branch causes build failure in clearcase plugin

          Andrew Bayer added a comment -

          Do you have the "Filter 'destroy sub-branch' event" advanced option selected?

          Andrew Bayer added a comment - Do you have the "Filter 'destroy sub-branch' event" advanced option selected?

          epkjoab added a comment -

          Created an attachment (id=993)
          Proposed Solution/workaround for issue 4099

          epkjoab added a comment - Created an attachment (id=993) Proposed Solution/workaround for issue 4099

          Code changed in jenkins
          User: skoechle
          Path:
          src/main/java/hudson/plugins/clearcase/history/DefaultFilter.java
          src/main/java/hudson/plugins/clearcase/history/HistoryEntry.java
          http://jenkins-ci.org/commit/clearcase-plugin/3b07ba196a5cb627b42c4f2b9093a967e2f85f74
          Log:
          JENKINS-4099 Deleting branch causes build failure in clearcase plugin

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: skoechle Path: src/main/java/hudson/plugins/clearcase/history/DefaultFilter.java src/main/java/hudson/plugins/clearcase/history/HistoryEntry.java http://jenkins-ci.org/commit/clearcase-plugin/3b07ba196a5cb627b42c4f2b9093a967e2f85f74 Log: JENKINS-4099 Deleting branch causes build failure in clearcase plugin

            Unassigned Unassigned
            snicolai snicolai
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: