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

poll on master filter has to exist and be true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • None
    • p4 plugin 1.4.9
      jenkins lts 2.19.1

      upgrading from 1.4.8, we find that our p4 polling jobs were endlessly polling, seeing new changes, and building.

      If the "poll on master" xml in the job/config.xml does not exist, this will loop builds into an endless check for changes, all changes are new, do build, repeat, loop.

      workaround is to add the filter for poll on master, and enable it to true.

      config.xml gets this added to it :

          <filter>
            <org.jenkinsci.plugins.p4.filters.FilterPollMasterImpl>
              <master>true</master>
            </org.jenkinsci.plugins.p4.filters.FilterPollMasterImpl>
          </filter>
      

      old behaviour of the plugin was to poll on node by default.

            Unassigned Unassigned
            mhall4 Matthew Hall
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: