HBASE-22563 Reduce old builds by half
Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
parent
03436e68bc
commit
2f9d995163
|
@ -24,7 +24,7 @@ pipeline {
|
|||
cron('@daily')
|
||||
}
|
||||
options {
|
||||
buildDiscarder(logRotator(numToKeepStr: '30'))
|
||||
buildDiscarder(logRotator(numToKeepStr: '15'))
|
||||
timeout (time: 9, unit: 'HOURS')
|
||||
timestamps()
|
||||
skipDefaultCheckout()
|
||||
|
|
|
@ -22,7 +22,7 @@ pipeline {
|
|||
}
|
||||
|
||||
options {
|
||||
buildDiscarder(logRotator(numToKeepStr: '30'))
|
||||
buildDiscarder(logRotator(numToKeepStr: '15'))
|
||||
timeout (time: 7, unit: 'HOURS')
|
||||
timestamps()
|
||||
checkoutToSubdirectory('src')
|
||||
|
|
|
@ -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[@]}"
|
||||
'''
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue