Skip to content

Commit

Permalink
HBASE-22563 Reduce old builds by half
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Busbey <busbey@apache.org>
  • Loading branch information
joshelser committed Jun 10, 2019
1 parent 89ea709 commit 6978d4a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dev-support/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pipeline {
cron('@daily')
}
options {
buildDiscarder(logRotator(numToKeepStr: '30'))
buildDiscarder(logRotator(numToKeepStr: '15'))
timeout (time: 9, unit: 'HOURS')
timestamps()
skipDefaultCheckout()
Expand Down
2 changes: 1 addition & 1 deletion dev-support/Jenkinsfile_GitHub
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pipeline {
}

options {
buildDiscarder(logRotator(numToKeepStr: '30'))
buildDiscarder(logRotator(numToKeepStr: '15'))
timeout (time: 7, unit: 'HOURS')
timestamps()
checkoutToSubdirectory('src')
Expand Down
4 changes: 2 additions & 2 deletions dev-support/flaky-tests/flaky-reporting.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pipeline {
cron('@daily')
}
options {
buildDiscarder(logRotator(numToKeepStr: '100'))
buildDiscarder(logRotator(numToKeepStr: '50'))
timeout (time: 15, unit: 'MINUTES')
timestamps()
}
Expand All @@ -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[@]}"
'''
Expand Down
2 changes: 1 addition & 1 deletion dev-support/flaky-tests/run-flaky-tests.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 6978d4a

Please sign in to comment.