Skip to content

Commit

Permalink
HBASE-26319 Make flaky find job track more builds (apache#3791)
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaolin Ha <[email protected]>
  • Loading branch information
Apache9 authored Oct 29, 2021
1 parent 60254bc commit e0eaec6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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 {
pollSCM('@daily')
}
options {
buildDiscarder(logRotator(numToKeepStr: '15'))
buildDiscarder(logRotator(numToKeepStr: '20'))
timeout (time: 16, unit: 'HOURS')
timestamps()
skipDefaultCheckout()
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 @@ -43,8 +43,8 @@ pipeline {
set -x
fi
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-Flaky-Tests/job/${BRANCH_NAME}" --is-yetus False --max-builds 30)
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 50)
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 \
python dev-support/flaky-tests/report-flakies.py --mvn -v -o output "${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: '30'))
buildDiscarder(logRotator(numToKeepStr: '50'))
timeout (time: 2, unit: 'HOURS')
timestamps()
}
Expand Down

0 comments on commit e0eaec6

Please sign in to comment.