You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ms...@apache.org on 2017/03/07 17:11:15 UTC
cassandra-builds git commit: Add cqlsh-tests template and main branch
jobs
Repository: cassandra-builds
Updated Branches:
refs/heads/master a1f0d3309 -> e7c5e2beb
Add cqlsh-tests template and main branch jobs
Project: http://git-wip-us.apache.org/repos/asf/cassandra-builds/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra-builds/commit/e7c5e2be
Tree: http://git-wip-us.apache.org/repos/asf/cassandra-builds/tree/e7c5e2be
Diff: http://git-wip-us.apache.org/repos/asf/cassandra-builds/diff/e7c5e2be
Branch: refs/heads/master
Commit: e7c5e2beb07ea651a6fdf2c970637706e3cc5662
Parents: a1f0d33
Author: Michael Shuler <mi...@pbandjelly.org>
Authored: Tue Mar 7 11:10:57 2017 -0600
Committer: Michael Shuler <mi...@pbandjelly.org>
Committed: Tue Mar 7 11:10:57 2017 -0600
----------------------------------------------------------------------
jenkins-dsl/cassandra_job_dsl_seed.groovy | 67 ++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra-builds/blob/e7c5e2be/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 857ea0c..a51133f 100644
--- a/jenkins-dsl/cassandra_job_dsl_seed.groovy
+++ b/jenkins-dsl/cassandra_job_dsl_seed.groovy
@@ -169,6 +169,59 @@ job('Cassandra-template-dtest') {
}
}
+/**
+ * cqlsh template
+ */
+matrixJob('Cassandra-template-cqlsh-tests') {
+ disabled(true)
+ description(jobDescription)
+ jdk(jdkLabel)
+ label(slaveLabel)
+ logRotator {
+ numToKeep(10)
+ }
+ wrappers {
+ timeout {
+ noActivity(1200)
+ }
+ }
+ throttleConcurrentBuilds {
+ categories(['Cassandra'])
+ }
+ axes {
+ text('cython', 'yes', 'no')
+ }
+ scm {
+ git {
+ remote {
+ url(mainRepo)
+ }
+ branch('*/null')
+ extensions {
+ cleanAfterCheckout()
+ }
+ }
+ }
+ triggers {
+ scm('@weekly')
+ }
+ steps {
+ buildDescription('', buildDescStr)
+ shell("git clean -xdff ; git clone ${buildsRepo} ; git clone ${dtestRepo}")
+ }
+ 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')
+ }
+ }
+}
+
////////////////////////////////////////////////////////////
//
// Branch Job Definitions
@@ -251,6 +304,20 @@ cassandraBranches.each {
}
}
}
+
+ /**
+ * Main branch cqlsh jobs
+ */
+ matrixJob("${jobNamePrefix}-cqlsh-tests") {
+ disabled(false)
+ using('Cassandra-template-cqlsh-tests')
+ configure { node ->
+ node / scm / branches / 'hudson.plugins.git.BranchSpec' / name(branchName)
+ }
+ steps {
+ shell('./cassandra-builds/build-scripts/cassandra-cqlsh-tests.sh')
+ }
+ }
}
////////////////////////////////////////////////////////////