Retry git operations up to 2 times.

Review Request #3841 - Created May 7, 2016 and submitted

Information
John Sirois
pants
jsirois/issues/3343
3343, 3360
8f5fd3f...
Reviewers
pants-reviews
patricklaw
This is intended to avoid shard failures due to flaky git
operations by trying up to 3 total times to get the workspace
fetched up to the right sha.

 Jenkinsfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
CI went green here:
  http://jenkins.pantsbuild.org/job/pantsbuild/job/pants/branch/PR-3360/2/
John Sirois
John Sirois
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Change Summary:

Now on master:

git log -1 origin/master
commit bef6a742aa05cf088a3b58b1a72c7afe66cbcb36
Author: John Sirois <john.sirois@gmail.com>
Date:   Sat May 7 15:06:08 2016 -0600

    Retry git operations up to 2 times.
    
    This is intended to avoid shard failures due to flaky git
    operations by trying up to 3 total times to get the workspace
    fetched up to the right sha.
    
    Testing Done:
    CI went green here:
      http://jenkins.pantsbuild.org/job/pantsbuild/job/pants/branch/PR-3360/2/
    
    Bugs closed: 3343, 3360
    
    Reviewed at https://rbcommons.com/s/twitter/r/3841/
Loading...