Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/p4-plugin
  Commit: f4116bc4ab05c7d4a5982ea0761ac6fad1a29264
      
https://github.com/jenkinsci/p4-plugin/commit/f4116bc4ab05c7d4a5982ea0761ac6fad1a29264
  Author: Paul Allen <pal...@perforce.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M src/main/java/org/jenkinsci/plugins/p4/client/ClientHelper.java
    M src/main/java/org/jenkinsci/plugins/p4/scm/AbstractP4ScmSource.java
    M src/main/java/org/jenkinsci/plugins/p4/tasks/CheckoutTask.java

  Log Message:
  -----------
  Prevent dormant multi branch project continiously building.

JENKINS-63494 and JENKINS-64193

When scanning a multi branch project if the history of changes is outside of 
the `Head change query limit` then no changes are found.  The old behaviour 
used the latest change and triggered a build; continuously triggering dormant 
projects with each new submit.

The new behaviour uses the last build change if no changes are found 
(preventing a triggered build) or if there was no previous builds (in the case 
of new projects) then the latest changes is used to triggering a build.


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/p4-plugin/push/refs/heads/master/d5ba49-f4116b%40github.com.

Reply via email to