Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2017-09-02 01:10:40 +0300
committerGitHub <noreply@github.com>2017-09-02 01:10:40 +0300
commit29017b48d364bcbb52b8a316f75c506cb3c9d34a (patch)
treec6945e0d2c99084e52532e826de810f6b1744b67 /scripts
parent9df8e7db13c1c682fcaecfb5dd6dbd7eabe126ce (diff)
[ci] Retry flaky tests only on PRs (#5492)
So we can still see failures in master and release branches.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci/run-jenkins.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/ci/run-jenkins.sh b/scripts/ci/run-jenkins.sh
index fcc26b7eff6..bdecfae3efb 100755
--- a/scripts/ci/run-jenkins.sh
+++ b/scripts/ci/run-jenkins.sh
@@ -29,6 +29,10 @@ else
export CFLAGS="-ggdb3 -O2"
fi
+if [[ $CI_TAGS == *'retry-flaky-tests'* ]]; then
+ export MONO_FLAKY_TEST_RETRIES=5
+fi
+
if [[ ${label} == 'osx-i386' ]]; then EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-libgdiplus=/Library/Frameworks/Mono.framework/Versions/Current/lib/libgdiplus.dylib --build=i386-apple-darwin11.2.0"; fi
if [[ ${label} == 'osx-amd64' ]]; then EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-libgdiplus=/Library/Frameworks/Mono.framework/Versions/Current/lib/libgdiplus.dylib "; fi
if [[ ${label} == 'w32' ]]; then PLATFORM=Win32; EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --host=i686-w64-mingw32"; export MONO_EXECUTABLE="${MONO_REPO_ROOT}/msvc/build/sgen/Win32/bin/Release/mono-sgen.exe"; fi