Change 10775

paul_allen (Paul Allen)
Paul Allen committed this change into //guest/perforce_software/p4jenkins/main/src
Request Review
Download .zip
Fix change detection when using a moving label

If a build was pinned or built from a label, the label name was recorded <buildChange>.  If the label is updated between builds then comparing against an earlier build will give you the wrong result.

This fix stores the automatic label ‘Revision’ field and stores this in <buildChange>.

NOTE: you will need to run a manual build to flush the label, so that the last build has a change number.

JENKINS-25300
  • Files 2
  • Comments 0
2 edited 0 added 0 deleted
main/java/org/jenkinsci/plugins/p4/CheckoutTask.java#11
Loading...
test/java/org/jenkinsci/plugins/p4/client/ConnectionTest.java#7
Loading...
Tip: Use n and p to cycle through the changes.