From 6978d4a1cf89a37832cb0fe912a6fe911eb3da72 Mon Sep 17 00:00:00 2001 From: Josh Elser Date: Mon, 10 Jun 2019 17:25:01 -0400 Subject: [PATCH] HBASE-22563 Reduce old builds by half Signed-off-by: Sean Busbey --- dev-support/Jenkinsfile | 2 +- dev-support/Jenkinsfile_GitHub | 2 +- dev-support/flaky-tests/flaky-reporting.Jenkinsfile | 4 ++-- dev-support/flaky-tests/run-flaky-tests.Jenkinsfile | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile index ad79a742cd1c..50bea5ffdf46 100644 --- a/dev-support/Jenkinsfile +++ b/dev-support/Jenkinsfile @@ -24,7 +24,7 @@ pipeline { cron('@daily') } options { - buildDiscarder(logRotator(numToKeepStr: '30')) + buildDiscarder(logRotator(numToKeepStr: '15')) timeout (time: 9, unit: 'HOURS') timestamps() skipDefaultCheckout() diff --git a/dev-support/Jenkinsfile_GitHub b/dev-support/Jenkinsfile_GitHub index ddf235ad7142..df6314fb7ebd 100644 --- a/dev-support/Jenkinsfile_GitHub +++ b/dev-support/Jenkinsfile_GitHub @@ -22,7 +22,7 @@ pipeline { } options { - buildDiscarder(logRotator(numToKeepStr: '30')) + buildDiscarder(logRotator(numToKeepStr: '15')) timeout (time: 7, unit: 'HOURS') timestamps() checkoutToSubdirectory('src') diff --git a/dev-support/flaky-tests/flaky-reporting.Jenkinsfile b/dev-support/flaky-tests/flaky-reporting.Jenkinsfile index dfe5b66c9046..75354e8591f8 100644 --- a/dev-support/flaky-tests/flaky-reporting.Jenkinsfile +++ b/dev-support/flaky-tests/flaky-reporting.Jenkinsfile @@ -24,7 +24,7 @@ pipeline { cron('@daily') } options { - buildDiscarder(logRotator(numToKeepStr: '100')) + buildDiscarder(logRotator(numToKeepStr: '50')) timeout (time: 15, unit: 'MINUTES') timestamps() } @@ -41,7 +41,7 @@ pipeline { fi declare -a flaky_args flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase%20Nightly/job/${BRANCH_NAME}" --is-yetus True --max-builds 5) - flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase-Flaky-Tests/job/${BRANCH_NAME}" --is-yetus False --max-builds 40) + flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase-Flaky-Tests/job/${BRANCH_NAME}" --is-yetus False --max-builds 30) docker build -t hbase-dev-support dev-support docker run -v "${WORKSPACE}":/hbase --workdir=/hbase hbase-dev-support python dev-support/flaky-tests/report-flakies.py --mvn -v "${flaky_args[@]}" ''' diff --git a/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile b/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile index 642ccd2ab4e1..bca95ddb1899 100644 --- a/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile +++ b/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile @@ -25,7 +25,7 @@ pipeline { } options { // this should roughly match how long we tell the flaky dashboard to look at - buildDiscarder(logRotator(numToKeepStr: '80')) + buildDiscarder(logRotator(numToKeepStr: '30')) timeout (time: 2, unit: 'HOURS') timestamps() }