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

p4-plugin does not provide accurate polling results in workflow job

    Details

    • Similar Issues:

      Description

      WorkflowJob does not seem to poll correctly for the p4-plugin SCMs in jobs. This might be a p4-plugin issue. The SCMCheckout for a PerforceScm never has a pollingBaseline set.

      From what I can tell, it looks like PerforceScm needs a better definition for "calcRevisionsFromBuild" to correctly provide polling results.

      compareRemoteRevisionWith should also use the baseline to determine the PollingResult state

        Attachments

          Issue Links

            Activity

            Hide
            rpk2msu Rick King added a comment -

            Have added and tested out a fix.
            It is included on this pull request.
            https://github.com/jenkinsci/p4-plugin/pull/22

            Show
            rpk2msu Rick King added a comment - Have added and tested out a fix. It is included on this pull request. https://github.com/jenkinsci/p4-plugin/pull/22
            Hide
            rpk2msu Rick King added a comment -

            This issue is now fixed and merged into master.

            Show
            rpk2msu Rick King added a comment - This issue is now fixed and merged into master.
            Hide
            p4paul Paul Allen added a comment -

            Resolved to Closed

            Show
            p4paul Paul Allen added a comment - Resolved to Closed

              People

              • Assignee:
                rpocase Robby Pocase
                Reporter:
                rpocase Robby Pocase
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: