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

Build variable CC_BASELINE not populated with used baseline

      CCUCM says it is using the latest baseline, but the CC_BASELINE build variable is not always set to it.
      The problem seems to occur after "Updating view using all modules" if CCUCM finds activities and versions involved.

      Console Output

      [CCUCM] Retrieved 28 baselines:
      [CCUCM] + WRKB_RLS_2012_06_00_ECM_5_18_12.1(Fri May 18 11:26:15 EDT 2012)
      [CCUCM] + WRKB_CL_WRKB_RLS_2012_06_00_ECM_5_18_12.1(Fri May 18 15:18:01 EDT 2012)
      [CCUCM] + WRKB_CL_WRKB_RLS_2012_06_00_ECM_5_19_12_CLR(Sat May 19 17:14:54 EDT 2012)
      [CCUCM] ...
      [CCUCM] + WRKB_RLS_2012_06_00_ECM_jenkins_0529_0925(Tue May 29 09:25:52 EDT 2012)
      [CCUCM] + WRKB_CL_WRKB_RLS_2012_06_00_ECM_5_29_12_CLR(Tue May 29 14:22:09 EDT 2012)
      [CCUCM] + WRKB_RLS_2012_06_00_ECM_5_29_12.1(Tue May 29 15:12:08 EDT 2012)

      [CCUCM] Using baseline:WRKB_RLS_2012_06_00_ECM_5_29_12.1@\WRKB_PVOB
      [CCUCM] View root: E:\Jenkins\jobs\Workbench Build 2012 June All except CPF\workspace\view
      [CCUCM] View tag : CCUCM_Workbench_Build_2012_June_All_except_CPF_XB57KDC
      [CCUCM] Reusing view root
      [CCUCM] Determine if view tag exists
      [CCUCM] Reusing view tag
      [CCUCM] UUID resulted in CCUCM_Workbench_Build_2012_June_All_except_CPF_XB57KDC
      [CCUCM] Getting snapshotview
      [CCUCM] Rebasing development stream (CCUCM_Workbench_Build_2012_June_All_except_CPF_XB57KDC) against parent stream (WRKB_RLS_2012_06_00_ECM) Done
      [CCUCM] Updating view using all modules
      [CCUCM] Found 3 activities. 20 versions involved

      But then Injected environment variable CC_BASELINE is incorrect

      Injected environment variables
      CC_BASELINE baseline:WRKB_RLS_2012_06_00_ECM_jenkins_0529_0925@\WRKB_PVOB

          [JENKINS-13970] Build variable CC_BASELINE not populated with used baseline

          Ok, I have been able to reproduce the problem. So far so good...

          Christian Wolfgang added a comment - Ok, I have been able to reproduce the problem. So far so good...

          I have identified the problem. I will try to solve it tomorrow.

          Are you still experiencing the environment variable not be populated correctly?

          Christian Wolfgang added a comment - I have identified the problem. I will try to solve it tomorrow. Are you still experiencing the environment variable not be populated correctly?

          Are you still experiencing the environment variable not being populated correctly?

          Christian Wolfgang added a comment - Are you still experiencing the environment variable not being populated correctly?

          Ok, I believe you do, because I found the bug.

          I also fixed the issue with the missing baselines, which turned out to be caused by a faulty merge. Stupid!

          I am releasing version 1.1.1 right now, so I guess it's available later today.

          Christian Wolfgang added a comment - Ok, I believe you do, because I found the bug. I also fixed the issue with the missing baselines, which turned out to be caused by a faulty merge. Stupid! I am releasing version 1.1.1 right now, so I guess it's available later today.

          Could you please verify my fix with your setup?

          Christian Wolfgang added a comment - Could you please verify my fix with your setup?

          Tim Pillsbury added a comment -

          Thanks so much Christian!
          I will test version 1.1.1 as soon as I see it in my Update Center and will post the results here.
          Really appreciate your help.

          Tim Pillsbury added a comment - Thanks so much Christian! I will test version 1.1.1 as soon as I see it in my Update Center and will post the results here. Really appreciate your help.

          No problem. Thank you for reporting!

          Christian Wolfgang added a comment - No problem. Thank you for reporting!

          Tim Pillsbury added a comment -

          Version 1.1.1 fix confirmed!

          Tim Pillsbury added a comment - Version 1.1.1 fix confirmed!

          Great!

          Christian Wolfgang added a comment - Great!

          Code changed in jenkins
          User: wolfgarnet
          Path:
          src/main/java/net/praqma/hudson/CCUCMRunListener.java
          src/main/java/net/praqma/hudson/scm/CCUCMScm.java
          http://jenkins-ci.org/commit/clearcase-ucm-plugin/75a302473b471c5e971eb89a8e4390278fe96692
          Log:
          Merge pull request #5 from wolfgarnet/master

          Fix for issue JENKINS-13970

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: wolfgarnet Path: src/main/java/net/praqma/hudson/CCUCMRunListener.java src/main/java/net/praqma/hudson/scm/CCUCMScm.java http://jenkins-ci.org/commit/clearcase-ucm-plugin/75a302473b471c5e971eb89a8e4390278fe96692 Log: Merge pull request #5 from wolfgarnet/master Fix for issue JENKINS-13970

            wolfgang Christian Wolfgang
            tpillsbury Tim Pillsbury
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: