This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.6 by this push:
     new 5bed0054318 HBASE-29067 Stagger the nightly tests on jenkins (#6595)
5bed0054318 is described below

commit 5bed0054318fa4f44a20b2ee5ad5e35a8182c3c8
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 833c425b4ef..5b9a08545ed 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'))

Reply via email to