HBASE-22563 Reduce old builds by half

Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
Josh Elser 2019-06-10 17:25:01 -04:00
parent 021141a941
commit c3e49fc128
4 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ pipeline {
cron('H */12 * * *') // Run every 12 hours. See https://jenkins.io/doc/book/pipeline/syntax/#cron-syntax cron('H */12 * * *') // Run every 12 hours. See https://jenkins.io/doc/book/pipeline/syntax/#cron-syntax
} }
options { options {
buildDiscarder(logRotator(numToKeepStr: '30')) buildDiscarder(logRotator(numToKeepStr: '15'))
timeout (time: 9, unit: 'HOURS') timeout (time: 9, unit: 'HOURS')
timestamps() timestamps()
skipDefaultCheckout() skipDefaultCheckout()

View File

@ -22,7 +22,7 @@ pipeline {
} }
options { options {
buildDiscarder(logRotator(numToKeepStr: '30')) buildDiscarder(logRotator(numToKeepStr: '15'))
timeout (time: 7, unit: 'HOURS') timeout (time: 7, unit: 'HOURS')
timestamps() timestamps()
checkoutToSubdirectory('src') checkoutToSubdirectory('src')

View File

@ -24,7 +24,7 @@ pipeline {
cron('@daily') cron('@daily')
} }
options { options {
buildDiscarder(logRotator(numToKeepStr: '100')) buildDiscarder(logRotator(numToKeepStr: '50'))
timeout (time: 15, unit: 'MINUTES') timeout (time: 15, unit: 'MINUTES')
timestamps() timestamps()
} }
@ -41,7 +41,7 @@ pipeline {
fi fi
declare -a flaky_args 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%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 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[@]}" docker run -v "${WORKSPACE}":/hbase --workdir=/hbase hbase-dev-support python dev-support/flaky-tests/report-flakies.py --mvn -v "${flaky_args[@]}"
''' '''

View File

@ -25,7 +25,7 @@ pipeline {
} }
options { options {
// this should roughly match how long we tell the flaky dashboard to look at // 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') timeout (time: 2, unit: 'HOURS')
timestamps() timestamps()
} }