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

P4 Polling does not work correctly if changelist is specified during sync

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • Jenkins 2.263.3
      P4-Plugin 1.11.2

      If a changelist is specified in scm: checkout, p4 polling does not work.  The result is the specified changelist is used in the range:  

       

      P4: Polling with range: 53910841,53910841 

      p4 changes -m20 //clientname_/...@53910841,53910841

       

      This result, is polling will not detect any subsequent changes.  

       

      If changelist is not specified during scm: checkout, 

       

      P4: Polling with range: 53910841,now 

      p4 changes -m20 //clientname_/...@53910841,now

       

      P4 plugin should always use "now" for the higher end of the range, regardless if a changelist was specified or not.  

       

       

       

          [JENKINS-65246] P4 Polling does not work correctly if changelist is specified during sync

          Al Watson created issue -
          Al Watson made changes -
          Assignee New: Paul Allen [ p4paul ]
          Karl Wirth made changes -
          Assignee Original: Paul Allen [ p4paul ] New: Karl Wirth [ p4karl ]
          Karl Wirth made changes -
          Labels New: P4_SUPPORT
          Al Watson made changes -
          Comment [ It seems this is potentially a dup of [JENKINS-63879] Using pin to sync to changelist causes polling to no longer detect changes beyond pinned CL - Jenkins Jira ]
          Keith Yates made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Karl Wirth made changes -
          Labels Original: P4_SUPPORT New: P4_A P4_VERIFY
          Heiko Nardmann made changes -
          Link New: This issue relates to JENKINS-63879 [ JENKINS-63879 ]
          Heiko Nardmann made changes -
          Link New: This issue relates to JENKINS-71364 [ JENKINS-71364 ]
          Heiko Nardmann made changes -
          Link New: This issue relates to JENKINS-71143 [ JENKINS-71143 ]
          Saurabh Karwa made changes -
          Comment [ Hi [~heiko_nardmann] many thanks for the offer to help test this. I have emailed you (using the email id mentioned on our salesforce account) the hpi file you can try on your setup. Of course since this is a beta release, would be prudent to try it on a not-so-risky scenario (of course this fix shouldn't cause anything drastic anyway). Thanks! ]

            p4karl Karl Wirth
            atwatsoniii Al Watson
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: