HBASE-26319 Make flaky find job track more builds (#3791)

Signed-off-by: Xiaolin Ha <haxiaolin@apache.org>
This commit is contained in:
Duo Zhang 2021-10-29 16:54:59 +08:00 committed by Duo Zhang
parent 7353c281fc
commit 9ce0066cde
3 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ pipeline {
pollSCM('@daily') pollSCM('@daily')
} }
options { options {
buildDiscarder(logRotator(numToKeepStr: '15')) buildDiscarder(logRotator(numToKeepStr: '20'))
timeout (time: 16, unit: 'HOURS') timeout (time: 16, unit: 'HOURS')
timestamps() timestamps()
skipDefaultCheckout() skipDefaultCheckout()

View File

@ -43,8 +43,8 @@ pipeline {
set -x set -x
fi fi
declare -a flaky_args declare -a flaky_args
flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase/job/HBase%20Nightly/job/${BRANCH_NAME}" --is-yetus True --max-builds 10) flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase/job/HBase%20Nightly/job/${BRANCH_NAME}" --is-yetus True --max-builds 20)
flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase/job/HBase-Flaky-Tests/job/${BRANCH_NAME}" --is-yetus False --max-builds 30) flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase/job/HBase-Flaky-Tests/job/${BRANCH_NAME}" --is-yetus False --max-builds 50)
docker build -t hbase-dev-support dev-support docker build -t hbase-dev-support dev-support
docker run --ulimit nproc=12500 -v "${WORKSPACE}":/hbase -u `id -u`:`id -g` --workdir=/hbase hbase-dev-support \ docker run --ulimit nproc=12500 -v "${WORKSPACE}":/hbase -u `id -u`:`id -g` --workdir=/hbase hbase-dev-support \
python dev-support/flaky-tests/report-flakies.py --mvn -v -o output "${flaky_args[@]}" python dev-support/flaky-tests/report-flakies.py --mvn -v -o output "${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: '30')) buildDiscarder(logRotator(numToKeepStr: '50'))
timeout (time: 2, unit: 'HOURS') timeout (time: 2, unit: 'HOURS')
timestamps() timestamps()
} }