Change 27175

paul_allen (Paul Allen)
Paul Allen committed this change into //guest/perforce_software/p4jenkins/main/src/main/java/org/jenkinsci/plugins/p4
Request Review
Download .zip
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.
  • Files 3
  • Comments 0
3 edited 0 added 0 deleted
client/ClientHelper.java#138
Loading...
scm/AbstractP4ScmSource.java#36
Loading...
tasks/CheckoutTask.java#36
Loading...
Tip: Use n and p to cycle through the changes.