Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/git-plugin
  Commit: 55ba3d9cb0e02162b09e32aa3a420db7709da4a0
      
https://github.com/jenkinsci/git-plugin/commit/55ba3d9cb0e02162b09e32aa3a420db7709da4a0
  Author: Mark Waite <mark.earl.wa...@gmail.com>
  Date:   2020-07-02 (Thu, 02 Jul 2020)

  Changed paths:
    M src/test/java/hudson/plugins/git/GitSCMTest.java

  Log Message:
  -----------
  Use correct branch in testSpecificRefspecs

The previous implementation of the test would create a new CheckoutCommand
with git.checkout() but then did nothing with it.  It created the
"foo" branch but did not checkout the "foo" branch.  The commit that
was described as "Commit in foo" was a commit to the master branch,
not a commit to the foo branch.


  Commit: 9895219c9623b7d0bb73581c35c678ec409732c3
      
https://github.com/jenkinsci/git-plugin/commit/9895219c9623b7d0bb73581c35c678ec409732c3
  Author: Mark Waite <mark.earl.wa...@gmail.com>
  Date:   2020-07-02 (Thu, 02 Jul 2020)

  Changed paths:
    M src/test/java/hudson/plugins/git/GitSCMTest.java

  Log Message:
  -----------
  Use correct branch in testAvoidRedundantFetchWithoutHonorRefSpec

The previous implementation of the test would create a new CheckoutCommand
with git.checkout() but then did nothing with it.  It created the
"foo" branch but did not checkout the "foo" branch.  The commit that
was described as "Commit in foo" was a commit to the master branch,
not a commit to the foo branch.


  Commit: d647d63f2b686f70b81f8c68ac7cb9a865c74774
      
https://github.com/jenkinsci/git-plugin/commit/d647d63f2b686f70b81f8c68ac7cb9a865c74774
  Author: Mark Waite <mark.earl.wa...@gmail.com>
  Date:   2020-07-02 (Thu, 02 Jul 2020)

  Changed paths:
    M src/test/java/hudson/plugins/git/GitSCMTest.java

  Log Message:
  -----------
  Use correct branch in testSpecificRefspecsWithoutCloneOption

The previous implementation of the test would create a new CheckoutCommand
with git.checkout() but then did nothing with it.  It created the
"foo" branch but did not checkout the "foo" branch.  The commit that
was described as "Commit in foo" was a commit to the master branch,
not a commit to the foo branch.


  Commit: 7c8ca93c8650124631b3fdb28cf959916624851d
      
https://github.com/jenkinsci/git-plugin/commit/7c8ca93c8650124631b3fdb28cf959916624851d
  Author: Mark Waite <mark.earl.wa...@gmail.com>
  Date:   2020-07-02 (Thu, 02 Jul 2020)

  Changed paths:
    M src/test/java/hudson/plugins/git/GitSCMTest.java

  Log Message:
  -----------
  Fix testAvoidRedundantFetchWithHonorRefSpec assertions

The previous implementation of the test failed when the branch name
'master' is used because the Jenkins job directory name includes the
branch name.  This now asserts more precisely on the content of the
FETCH_HEAD file.

As part of the exploration to find the problem, additional assertions
have been added to confirm that the correct SHA1 is mentioned in the
FETCH_HEAD file.

Use correct branch in GitSCMTest.testAvoidRedundantFetchWithHonorRefSpec

The previous implementation of the test would create a new CheckoutCommand
with git.checkout() but then did nothing with it.  It created the
"foo" branch but did not checkout the "foo" branch.  The commit that
was described as "Commit in foo" was a commit to the master branch,
not a commit to the foo branch.


  Commit: bb7a3db03ca9269bcf9eed25c735357bbff3e66c
      
https://github.com/jenkinsci/git-plugin/commit/bb7a3db03ca9269bcf9eed25c735357bbff3e66c
  Author: Mark Waite <mark.earl.wa...@gmail.com>
  Date:   2020-07-02 (Thu, 02 Jul 2020)

  Changed paths:
    M src/test/java/hudson/plugins/git/GitSCMTest.java

  Log Message:
  -----------
  Merge pull request #926 from MarkEWaite/use-correct-branches-in-GitSCMTest

Fix testAvoidRedundantFetchWithHonorRefSpec assertions


Compare: 
https://github.com/jenkinsci/git-plugin/compare/3481bebc8607...bb7a3db03ca9

-- 
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/git-plugin/push/refs/heads/master/3481be-bb7a3d%40github.com.

Reply via email to