Skip to content

Commit

Permalink
HBASE-29067 Stagger the nightly tests on jenkins (#6595)
Browse files Browse the repository at this point in the history
Run all jobs every 3 days, master and branch-3 on first day, branch-2 on
second day, and other branches on third day

Signed-off-by: Nihal Jain <[email protected]>
Signed-off-by: Istvan Toth <[email protected]>
(cherry picked from commit 7170b27)
  • Loading branch information
Apache9 committed Jan 12, 2025
1 parent 6104a94 commit 61da5b8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion dev-support/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,15 @@ pipeline {
}
}
triggers {
pollSCM('@daily')
if (env.BRANCH_NAME == 'master') {
pollSCM('H H 1-31/3 * *')
} else if (env.BRANCH_NAME == 'branch-3') {
pollSCM('H H 1-31/3 * *')
else if (env.BRANCH_NAME == 'branch-2') {
pollSCM('H H 2-31/3 * *')
} else {
pollSCM('H H 3-31/3 * *')
}
}
options {
buildDiscarder(logRotator(numToKeepStr: '20'))
Expand Down

0 comments on commit 61da5b8

Please sign in to comment.