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: Fix triggerInterval variable scope
Date Thu, 15 Dec 2016 19:19:49 GMT
Repository: cassandra-builds
Updated Branches:
  refs/heads/master dce81a6f3 -> 32939b643


Fix triggerInterval variable scope


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

Branch: refs/heads/master
Commit: 32939b643e22cc609fccae5d8d02f35cb754da02
Parents: dce81a6
Author: Michael Shuler <michael@pbandjelly.org>
Authored: Thu Dec 15 13:19:44 2016 -0600
Committer: Michael Shuler <michael@pbandjelly.org>
Committed: Thu Dec 15 13:19:44 2016 -0600

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


http://git-wip-us.apache.org/repos/asf/cassandra-builds/blob/32939b64/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 be5bb0e..311f5e7 100644
--- a/jenkins-dsl/cassandra_job_dsl_seed.groovy
+++ b/jenkins-dsl/cassandra_job_dsl_seed.groovy
@@ -226,9 +226,9 @@ cassandraBranches.each {
 
         // Run default dtest daily and variations weekly
         if (targetName == 'dtest') {
-            def triggerInterval = '@daily'
+            triggerInterval = '@daily'
         } else {
-            def triggerInterval = '@weekly'
+            triggerInterval = '@weekly'
         }
 
         // Skip dtest-offheap on cassandra-3.0 branch
@@ -242,7 +242,7 @@ cassandraBranches.each {
                     node / scm / branches / 'hudson.plugins.git.BranchSpec' / name(branchName)
                 }
                 triggers {
-                    scm("${triggerInterval}")
+                    scm(triggerInterval)
                 }
                 steps {
                     shell("./cassandra-builds/build-scripts/cassandra-dtest.sh ${targetName}")


Mime
View raw message