You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by mc...@apache.org on 2020/01/24 20:27:46 UTC

[cassandra-builds] branch master updated: Remove scm polling on all non-pipeline Jenkins builds.

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

mck pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git


The following commit(s) were added to refs/heads/master by this push:
     new 05985a5  Remove scm polling on all non-pipeline Jenkins builds.
05985a5 is described below

commit 05985a5662508a3d20013f72ef7fe40843901c94
Author: mck <mc...@apache.org>
AuthorDate: Fri Jan 24 10:31:02 2020 +0100

    Remove scm polling on all non-pipeline Jenkins builds.
---
 jenkins-dsl/cassandra_job_dsl_seed.groovy | 31 +------------------------------
 1 file changed, 1 insertion(+), 30 deletions(-)

diff --git a/jenkins-dsl/cassandra_job_dsl_seed.groovy b/jenkins-dsl/cassandra_job_dsl_seed.groovy
index cd8db6f..c764e46 100644
--- a/jenkins-dsl/cassandra_job_dsl_seed.groovy
+++ b/jenkins-dsl/cassandra_job_dsl_seed.groovy
@@ -92,9 +92,6 @@ job('Cassandra-template-artifacts') {
             }
         }
     }
-    triggers {
-        scm('H/30 * * * *')
-    }
     steps {
         buildDescription('', buildDescStr)
         shell("git clean -xdff ; git clone -b ${buildsBranch} ${buildsRepo}")
@@ -160,9 +157,6 @@ job('Cassandra-template-test') {
             }
         }
     }
-    triggers {
-        scm('@daily')
-    }
     steps {
         buildDescription('', buildDescStr)
         shell("git clean -xdff ; git clone -b ${buildsBranch} ${buildsRepo}")
@@ -272,9 +266,6 @@ matrixJob('Cassandra-template-cqlsh-tests') {
             }
         }
     }
-    triggers {
-        scm('@weekly')
-    }
     steps {
         buildDescription('', buildDescStr)
         shell("git clean -xdff ; git clone ${dtestRepo}")
@@ -329,13 +320,6 @@ cassandraBranches.each {
     testTargets.each {
         def targetName = it
 
-        // Run default ant test daily and variations weekly
-        if (targetName == 'test') {
-            triggerInterval = '@daily'
-        } else {
-            triggerInterval = '@weekly'
-        }
-
         // Skip tests that don't exist before cassandra-3.11
         if ((targetName == 'test-cdc' || targetName == 'stress-test') && ((branchName == 'cassandra-2.2') || (branchName == 'cassandra-3.0'))) {
             println("Skipping ${targetName} on branch ${branchName}")
@@ -351,9 +335,6 @@ cassandraBranches.each {
                 configure { node ->
                     node / scm / branches / 'hudson.plugins.git.BranchSpec' / name(branchName)
                 }
-                triggers {
-                    scm(triggerInterval)
-                }
                 steps {
                     shell("./cassandra-builds/build-scripts/cassandra-unittest.sh ${targetName}")
                 }
@@ -367,13 +348,6 @@ cassandraBranches.each {
     dtestTargets.each {
         def targetName = it
 
-        // Run default dtest daily and variations weekly
-        if (targetName == 'dtest') {
-            triggerInterval = '@daily'
-        } else {
-            triggerInterval = '@weekly'
-        }
-
         // Skip dtest-offheap on cassandra-3.0 branch
         if ((targetName == 'dtest-offheap') && (branchName == 'cassandra-3.0')) {
             println("Skipping ${targetName} on branch ${branchName}")
@@ -387,9 +361,6 @@ cassandraBranches.each {
                 configure { node ->
                     node / scm / branches / 'hudson.plugins.git.BranchSpec' / name(branchName)
                 }
-                triggers {
-                    scm(triggerInterval)
-                }
                 steps {
                     shell("sh ./cassandra-builds/docker/jenkins/jenkinscommand.sh apache ${branchName} https://github.com/apache/cassandra-dtest.git master ${buildsRepo} ${buildsBranch} ${dtestDockerImage} ${targetName}")
                 }
@@ -441,7 +412,7 @@ cassandraBranches.each {
             }
         }
         triggers {
-            scm('H/30 * * * *')
+            scm('H/5 * * * *')
         }
     }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org