Repository: cassandra-builds
Updated Branches:
  refs/heads/master e7c5e2beb -> 2bb7a6c51


Add dev branch parameterized cqlsh-tests job


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

Branch: refs/heads/master
Commit: 2bb7a6c51921271f0aa5879dd8529d3350eccf3b
Parents: e7c5e2b
Author: Michael Shuler <mich...@pbandjelly.org>
Authored: Tue Mar 7 11:46:07 2017 -0600
Committer: Michael Shuler <mich...@pbandjelly.org>
Committed: Tue Mar 7 11:46:07 2017 -0600

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


http://git-wip-us.apache.org/repos/asf/cassandra-builds/blob/2bb7a6c5/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 a51133f..35ae725 100644
--- a/jenkins-dsl/cassandra_job_dsl_seed.groovy
+++ b/jenkins-dsl/cassandra_job_dsl_seed.groovy
@@ -428,3 +428,54 @@ job('Cassandra-devbranch-dtest') {
         }
     }
 }
+
+/**
+ * Parameterized Dev Branch cqlsh-tests
+ */
+matrixJob('Cassandra-devbranch-cqlsh-tests') {
+    description(jobDescription)
+    jdk(jdkLabel)
+    label(slaveLabel)
+    logRotator {
+        numToKeep(10)
+    }
+    wrappers {
+        timeout {
+            noActivity(1200)
+        }
+    }
+    throttleConcurrentBuilds {
+        categories(['Cassandra'])
+    }
+    parameters {
+        stringParam('REPO', 'apache', 'The github user/org to clone cassandra 
repo from')
+        stringParam('BRANCH', 'trunk', 'The branch of cassandra to checkout')
+    }
+    scm {
+        git {
+            remote {
+                url('https://github.com/${REPO}/cassandra.git')
+            }
+            branch('${BRANCH}')
+            extensions {
+                cleanAfterCheckout()
+            }
+        }
+    }
+    steps {
+        buildDescription('', buildDescStr)
+        shell("git clean -xdff ; git clone ${buildsRepo} ; git clone 
${dtestRepo}")
+        shell('./cassandra-builds/build-scripts/cassandra-cqlsh-tests.sh')
+    }
+    publishers {
+        junit {
+            testResults('cqlshlib.xml, nosetests.xml')
+            testDataPublishers {
+                stabilityTestDataPublisher()
+            }
+        }
+        postBuildTask {
+            task('.', 'echo "Finding job process orphans.."; if pgrep -af 
${JOB_BASE_NAME}; then pkill -9 -f ${JOB_BASE_NAME}; fi')
+        }
+    }
+}

Reply via email to