Skip to content

Commit

Permalink
Just retry (#463)
Browse files Browse the repository at this point in the history
retrying all OSes
  • Loading branch information
scottf authored May 6, 2021
1 parent f305da2 commit 721aa3f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ import aQute.bnd.gradle.Bundle
// CHANGELOG.md
def jarVersion = "2.11.1"

def CI = "true" == System.getenv("CI") // travis

// TRAVIS_BRANCH equals TRAVIS_TAG when a tag exists / a tag event
def secureEnv = System.getenv("TRAVIS_SECURE_ENV_VARS") != null ? System.getenv("TRAVIS_SECURE_ENV_VARS") : "false"
def branch = System.getenv("TRAVIS_BRANCH") != null ? System.getenv("TRAVIS_BRANCH") : ""
Expand Down Expand Up @@ -124,14 +122,8 @@ test {
}
retry {
failOnPassedAfterRetry = false
if (CI) {
maxFailures = 5
maxRetries = 5
}
else {
maxFailures = 1
maxRetries = 1
}
maxFailures = 5
maxRetries = 5
}
maxParallelForks = Runtime.runtime.availableProcessors()
}
Expand Down

0 comments on commit 721aa3f

Please sign in to comment.