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

Polling Builds project regardless of changes

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • clearcase-plugin
    • None
    • AIX, ClearCase 7.1.1.2

      Hudson is configured to poll ClearCase (UCM) and start build process when a change was made.

      Hudson reports "No changes from last build." and "Build was started by an SCM change.".
      However, the change is not shown.

          [JENKINS-7059] Polling Builds project regardless of changes

          dellen added a comment -

          This issue look similar to Issue JENKINS-5915

          dellen added a comment - This issue look similar to Issue JENKINS-5915

          Hello,
          would you mind testing that using latest build ? (you can download it from http://ci.hudson-labs.org/job/hudson_all_plugins/147/org.jvnet.hudson.plugins$clearcase/)
          There were problems regarding parsing of changelog entries coming from ClearCase.

          Vincent Latombe added a comment - Hello, would you mind testing that using latest build ? (you can download it from http://ci.hudson-labs.org/job/hudson_all_plugins/147/org.jvnet.hudson.plugins$clearcase/ ) There were problems regarding parsing of changelog entries coming from ClearCase.

          dellen added a comment -

          Hi,

          We have tested the new ClearCase plugin, but hudson still does not detect the change made in ClearCase.

          LSHISTORY (manual)
          --------------------------
          — ccmgr@power103a : /view/ccmgr_master_SOFIE_istream_hudson
          — 123 $ cleartool lshistory -all -since 27-jul-10.07:35:02utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" >
          "20100727.093535" "lot" "/vobs/DEMO_VOB/SOFIE/build.xml" "/main/SOFIE_istream/3" "create version" "checkin" "adapt_path_buildfile"

          — ccmgr@power103a : /view/ccmgr_master_SOFIE_istream_hudson
          — 124 $

          LSHISTORY from Hudson
          --------------------------
          Started on Jul 27, 2010 9:36:00 AM
          [workspace] $ cleartool desc -fmt %[found_bls]Xp\n stream:SOFIE_istream@/vobs/DEMO_PVOB
          baseline:SOFIE_INITIAL@/vobs/DEMO_PVOB
          [workspace] $ cleartool desc -fmt %[component]Xp\n baseline:SOFIE_INITIAL@/vobs/DEMO_PVOB
          component:SOFIE@/vobs/DEMO_PVOB
          [ccmgr_master_SOFIE_istream_hudson] $ cleartool pwv -root
          /view/ccmgr_master_SOFIE_istream_hudson
          [workspace] $ cleartool lsview ccmgr_master_SOFIE_istream_hudson

          • ccmgr_master_SOFIE_istream_hudson /ccdata/views/ccmgr_master_SOFIE_istream_hudson
            [workspace] $ cleartool startview ccmgr_master_SOFIE_istream_hudson
            [view] $ cleartool lshistory -all -since 27-jul-10.07:35:02utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n' -branch brtype:SOFIE_istream -nco vobs/DEMO_VOB/SOFIE
            [workspace] $ cleartool desc -fmt %[found_bls]Xp\n stream:SOFIE_istream@/vobs/DEMO_PVOB
            baseline:SOFIE_INITIAL@/vobs/DEMO_PVOB
            [workspace] $ cleartool desc -fmt %[component]Xp\n baseline:SOFIE_INITIAL@/vobs/DEMO_PVOB
            component:SOFIE@/vobs/DEMO_PVOB
            Done. Took 1.4 sec
            No changes

          dellen added a comment - Hi, We have tested the new ClearCase plugin, but hudson still does not detect the change made in ClearCase. LSHISTORY (manual) -------------------------- — ccmgr@power103a : /view/ccmgr_master_SOFIE_istream_hudson — 123 $ cleartool lshistory -all -since 27-jul-10.07:35:02utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"% [activity] p\" > "20100727.093535" "lot" "/vobs/DEMO_VOB/SOFIE/build.xml" "/main/SOFIE_istream/3" "create version" "checkin" "adapt_path_buildfile" — ccmgr@power103a : /view/ccmgr_master_SOFIE_istream_hudson — 124 $ LSHISTORY from Hudson -------------------------- Started on Jul 27, 2010 9:36:00 AM [workspace] $ cleartool desc -fmt % [found_bls] Xp\n stream:SOFIE_istream@/vobs/DEMO_PVOB baseline:SOFIE_INITIAL@/vobs/DEMO_PVOB [workspace] $ cleartool desc -fmt % [component] Xp\n baseline:SOFIE_INITIAL@/vobs/DEMO_PVOB component:SOFIE@/vobs/DEMO_PVOB [ccmgr_master_SOFIE_istream_hudson] $ cleartool pwv -root /view/ccmgr_master_SOFIE_istream_hudson [workspace] $ cleartool lsview ccmgr_master_SOFIE_istream_hudson ccmgr_master_SOFIE_istream_hudson /ccdata/views/ccmgr_master_SOFIE_istream_hudson [workspace] $ cleartool startview ccmgr_master_SOFIE_istream_hudson [view] $ cleartool lshistory -all -since 27-jul-10.07:35:02utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"% [activity] p\" \n%c\n' -branch brtype:SOFIE_istream -nco vobs/DEMO_VOB/SOFIE [workspace] $ cleartool desc -fmt % [found_bls] Xp\n stream:SOFIE_istream@/vobs/DEMO_PVOB baseline:SOFIE_INITIAL@/vobs/DEMO_PVOB [workspace] $ cleartool desc -fmt % [component] Xp\n baseline:SOFIE_INITIAL@/vobs/DEMO_PVOB component:SOFIE@/vobs/DEMO_PVOB Done. Took 1.4 sec No changes

          Vincent Latombe added a comment - - edited

          Hello,
          from what you are giving as output, it seems that the lshistory made by hudson is called from the wrong working directory, so it doesn't work for a dynamic view.

          I will review this and provide a fix

          Vincent Latombe added a comment - - edited Hello, from what you are giving as output, it seems that the lshistory made by hudson is called from the wrong working directory, so it doesn't work for a dynamic view. I will review this and provide a fix

          evernat added a comment -

          Hi, any news on this?

          evernat added a comment - Hi, any news on this?

          Chris Wozny added a comment - - edited

          I am still getting this in 1.3.14. I see that a build went off last night and when I look at the details it says "No changes from last build." but also says "Started by an SCM change"

          The polling log is shown below:

          Started on Jul 2, 2013 2:54:56 AM
          (removed asterisks due to formatting in comments) get view CSPEC (removed asterisks due to formatting in comments)
          [Builds] $ "C:\Program Files (x86)\Rational\ClearCase\bin\cleartool" catcs -tag JENKINS_CONFIG_SPEC
          element * CHECKEDOUT
          element * XXXXX
          load \XX1
          load \XX2
          (removed asterisks due to formatting in comments)
          [INFO] CSPEC changed = false
          [JENKINS_CONFIG_SPEC] $ "C:\Program Files (x86)\Rational\ClearCase\bin\cleartool" lsview -cview -s
          Done. Took 0.1 sec
          Changes found

          Chris Wozny added a comment - - edited I am still getting this in 1.3.14. I see that a build went off last night and when I look at the details it says "No changes from last build." but also says "Started by an SCM change" The polling log is shown below: Started on Jul 2, 2013 2:54:56 AM (removed asterisks due to formatting in comments) get view CSPEC (removed asterisks due to formatting in comments) [Builds] $ "C:\Program Files (x86)\Rational\ClearCase\bin\cleartool" catcs -tag JENKINS_CONFIG_SPEC element * CHECKEDOUT element * XXXXX load \XX1 load \XX2 (removed asterisks due to formatting in comments) [INFO] CSPEC changed = false [JENKINS_CONFIG_SPEC] $ "C:\Program Files (x86)\Rational\ClearCase\bin\cleartool" lsview -cview -s Done. Took 0.1 sec Changes found

            Unassigned Unassigned
            dellen dellen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: