This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2.5
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.5 by this push:
new 300204403dc HBASE-29067 Stagger the nightly tests on jenkins (#6595)
300204403dc is described below
commit 300204403dc2a1de738ee9ce09bf51bb24b57e1e
Author: Duo Zhang <[email protected]>
AuthorDate: Sun Jan 12 21:20:40 2025 +0800
HBASE-29067 Stagger the nightly tests on jenkins (#6595)
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 7170b27986f82116687787a2360f11ec6b8400fe)
---
dev-support/Jenkinsfile | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 3bd14f0445d..edfe98794a5 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -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'))