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

Inconsistency between UCM Baseline plugin and ClearCase plugin with post job baseline operation

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • SunOS 5.10 Generic_118833-33 sun4u sparc SUNW,A70
      Last versions of
      Hudson (1.349)
      ClearCase Plugin : 1.1.1
      ClearCase Release Plugin : 0.1
      UCM Baseline Plugin : 1.4

      When configuring a job to build from a specific baseline on a stream with no post job baselining, the build runs OK.
      When configuring a job to build from LATEST version of a branch, with post job baselining, the build runs OK, and never mind if the baseline is a full one or not.

      When configuring a job to build from a specific baseline on a stream along with a post job baselining operation, the build fails just when starting with the following message :

      Started by user hudson_admin
      Building on master
      FATAL: com.michelin.cio.hudson.plugins.clearcaseucmbaseline.ClearCaseUcmBaselineSCM
      java.lang.ClassCastException: com.michelin.cio.hudson.plugins.clearcaseucmbaseline.ClearCaseUcmBaselineSCM
      at hudson.plugins.clearcase.ucm.UcmMakeBaseline.prebuild(UcmMakeBaseline.java:216)
      at hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:595)
      at hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:590)
      at hudson.model.AbstractBuild$AbstractRunner.preBuild(AbstractBuild.java:586)
      at hudson.model.Build$RunnerImpl.doRun(Build.java:114)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
      at hudson.model.Run.run(Run.java:1224)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:122)

          [JENKINS-5877] Inconsistency between UCM Baseline plugin and ClearCase plugin with post job baseline operation

          Andrew Bayer added a comment -

          Switching to new clearcase-ucm-baseline plugin.

          Andrew Bayer added a comment - Switching to new clearcase-ucm-baseline plugin.

          Romain Seguy added a comment -

          As the CC UCM Baseline plugin does just download the content of a baseline without using any stream, it is not possible to use the Make UCM baseline notifier provided by the CC plugin to make a new baseline. As such, I think I will "fix" the issue by adding some extra messages in the plugin + by making the build fail if the user has been activated the Make UCM baseline notifier.

          Romain Seguy added a comment - As the CC UCM Baseline plugin does just download the content of a baseline without using any stream, it is not possible to use the Make UCM baseline notifier provided by the CC plugin to make a new baseline. As such, I think I will "fix" the issue by adding some extra messages in the plugin + by making the build fail if the user has been activated the Make UCM baseline notifier.

          Code changed in hudson
          User: : rseguy
          Path:
          trunk/hudson/plugins/clearcase-ucm-baseline/src/main/java/com/michelin/cio/hudson/plugins/clearcaseucmbaseline/ClearCaseUcmBaselineParameterValue.java
          http://jenkins-ci.org/commit/29049
          Log:
          [FIXED JENKINS-5877]

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : rseguy Path: trunk/hudson/plugins/clearcase-ucm-baseline/src/main/java/com/michelin/cio/hudson/plugins/clearcaseucmbaseline/ClearCaseUcmBaselineParameterValue.java http://jenkins-ci.org/commit/29049 Log: [FIXED JENKINS-5877]

          Romain Seguy added a comment -

          Will be delivered in 1.4.1.

          Romain Seguy added a comment - Will be delivered in 1.4.1.

          Trunk breaks when using clearcase 1.1.1. I will provide a patch that work for both versions.

          Vincent Latombe added a comment - Trunk breaks when using clearcase 1.1.1. I will provide a patch that work for both versions.

          Should work for clearcase plugin 1.0 and 1.1. Patch against trunk

          Vincent Latombe added a comment - Should work for clearcase plugin 1.0 and 1.1. Patch against trunk

          Code changed in hudson
          User: : rseguy
          Path:
          trunk/hudson/plugins/clearcase-ucm-baseline/src/main/java/com/michelin/cio/hudson/plugins/clearcaseucmbaseline/ClearCaseUcmBaselineParameterValue.java
          http://jenkins-ci.org/commit/29374
          Log:
          [FIXED JENKINS-5877]

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : rseguy Path: trunk/hudson/plugins/clearcase-ucm-baseline/src/main/java/com/michelin/cio/hudson/plugins/clearcaseucmbaseline/ClearCaseUcmBaselineParameterValue.java http://jenkins-ci.org/commit/29374 Log: [FIXED JENKINS-5877]

          Romain Seguy added a comment -

          Delivered in 1.5

          Romain Seguy added a comment - Delivered in 1.5

            rseguy Romain Seguy
            jlpinardon jlpinardon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: