cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mshu...@apache.org
Subject cassandra-builds git commit: Run default dtest daily and variations weekly
Date Thu, 15 Dec 2016 18:46:51 GMT
Repository: cassandra-builds
Updated Branches:
  refs/heads/master bb0105561 -> 2a86477d5


Run default dtest daily and variations weekly


Project: http://git-wip-us.apache.org/repos/asf/cassandra-builds/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra-builds/commit/2a86477d
Tree: http://git-wip-us.apache.org/repos/asf/cassandra-builds/tree/2a86477d
Diff: http://git-wip-us.apache.org/repos/asf/cassandra-builds/diff/2a86477d

Branch: refs/heads/master
Commit: 2a86477d5f7f73e6e9cd17468ea10679f078d81a
Parents: bb01055
Author: Michael Shuler <michael@pbandjelly.org>
Authored: Thu Dec 15 12:46:33 2016 -0600
Committer: Michael Shuler <michael@pbandjelly.org>
Committed: Thu Dec 15 12:46:33 2016 -0600

----------------------------------------------------------------------
 jenkins-dsl/cassandra_job_dsl_seed.groovy | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-builds/blob/2a86477d/jenkins-dsl/cassandra_job_dsl_seed.groovy
----------------------------------------------------------------------
diff --git a/jenkins-dsl/cassandra_job_dsl_seed.groovy b/jenkins-dsl/cassandra_job_dsl_seed.groovy
index 02bf485..7bb30a4 100644
--- a/jenkins-dsl/cassandra_job_dsl_seed.groovy
+++ b/jenkins-dsl/cassandra_job_dsl_seed.groovy
@@ -150,9 +150,6 @@ job('Cassandra-template-dtest') {
             }
         }
     }
-    triggers {
-        scm('@daily')
-    }
     steps {
         buildDescription('', buildDescStr)
         shell("git clean -xdff ; git clone ${buildsRepo} ; git clone ${dtestRepo}")
@@ -227,6 +224,13 @@ cassandraBranches.each {
     dtestTargets.each {
         def targetName = it
 
+        // Run default dtest daily and variations weekly
+        if (targetName == 'dtest') {
+            def triggerInterval = '@daily'
+        } else {
+            def triggerInterval = '@weekly'
+        }
+
         // Skip dtest-offheap on cassandra-3.0 branch
         if ((targetName == 'dtest-offheap') && (branchName == 'cassandra-3.0')) {
             println("Skipping ${targetName} on branch ${branchName}")
@@ -237,6 +241,9 @@ cassandraBranches.each {
                 configure { node ->
                     node / scm / branches / 'hudson.plugins.git.BranchSpec' / name(branchName)
                 }
+                triggers {
+                    scm(triggerInterval)
+                }
                 steps {
                     shell("./cassandra-builds/build-scripts/cassandra-dtest.sh ${targetName}")
                 }


Mime
View raw message