Merge pull request #23660 from stanley-cheung/deflake-dart-pub-get

Attempt to de-flake dart interop build
pull/23703/head
Stanley Cheung 4 years ago committed by GitHub
commit f836410fa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      templates/tools/dockerfile/interoptest/grpc_interop_dart/build_interop.sh.template
  2. 3
      tools/dockerfile/interoptest/grpc_interop_dart/build_interop.sh

@ -25,4 +25,5 @@
cp -r /var/local/jenkins/service_account $HOME || true
cd /var/local/git/grpc-dart/interop
/usr/lib/dart/bin/pub get --verbose
# De-flake attempt: run the cmd one more time in case of transient failure
/usr/lib/dart/bin/pub get --verbose || /usr/lib/dart/bin/pub get --verbose

@ -23,4 +23,5 @@ git clone /var/local/jenkins/grpc-dart /var/local/git/grpc-dart
cp -r /var/local/jenkins/service_account $HOME || true
cd /var/local/git/grpc-dart/interop
/usr/lib/dart/bin/pub get --verbose
# De-flake attempt: run the cmd one more time in case of transient failure
/usr/lib/dart/bin/pub get --verbose || /usr/lib/dart/bin/pub get --verbose

Loading…
Cancel
Save