Branch: refs/heads/checkout_and_history_by_changeset Home: https://github.com/jenkinsci/tfs-plugin Commit: 3d7da93a3f43acd7fe88db8170862a38493db184 https://github.com/jenkinsci/tfs-plugin/commit/3d7da93a3f43acd7fe88db8170862a38493db184 Author: Oli Dagenais <oliv...@microsoft.com> Date: 2015-08-06 (Thu, 06 Aug 2015)
Changed paths: M src/main/java/hudson/plugins/tfs/TeamFoundationServerScm.java M src/test/java/hudson/plugins/tfs/FunctionalTest.java M src/test/java/hudson/plugins/tfs/TeamFoundationServerScmTest.java Log Message: ----------- Update checkout & history to be changeset-based. We were already determining the changeset and recording it as part of the build, this now makes sure we use that same changeset number when retrieving the files and computing the list of changes since the last build. Without these changes, it was possible for the plugin to claim we were checking out, say, changeset 507, but actually fetch changeset 506, depending on the exact timing of the changeset and the build's start time. Commit: 6f421baa7afe5f12bb087d2b459cb3b66d39e9bf https://github.com/jenkinsci/tfs-plugin/commit/6f421baa7afe5f12bb087d2b459cb3b66d39e9bf Author: Oli Dagenais <oliv...@microsoft.com> Date: 2015-08-06 (Thu, 06 Aug 2015) Changed paths: M src/test/java/hudson/plugins/tfs/FunctionalTest.java Log Message: ----------- Refactor: re-order lines. Commit: 81455709e417873c6966bd79fa5d8155012ffa5e https://github.com/jenkinsci/tfs-plugin/commit/81455709e417873c6966bd79fa5d8155012ffa5e Author: Oli Dagenais <oliv...@microsoft.com> Date: 2015-08-06 (Thu, 06 Aug 2015) Changed paths: M src/test/java/hudson/plugins/tfs/FunctionalTest.java Log Message: ----------- Refactor: extract waitForQueuedBuild() method. Commit: 082638fd919241d1e8e1ef59ba8a23c446001be0 https://github.com/jenkinsci/tfs-plugin/commit/082638fd919241d1e8e1ef59ba8a23c446001be0 Author: Oli Dagenais <oliv...@microsoft.com> Date: 2015-08-06 (Thu, 06 Aug 2015) Changed paths: M src/main/java/hudson/plugins/tfs/TeamFoundationServerScm.java M src/test/java/hudson/plugins/tfs/FunctionalTest.java Log Message: ----------- TDD: manual build without TFVC changes. This addition to the newJob() functional test exposed the case where a build was manually triggered after an SCM trigger and the plugin would end up asking for history between changesets X+1 and X, which would throw an exception. This verifies there should be no changes recorded. Compare: https://github.com/jenkinsci/tfs-plugin/compare/0609dc167554...082638fd9192 -- 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. For more options, visit https://groups.google.com/d/optout.