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: Add dtest repo/branch parameters to dev jobs
Date Fri, 17 Nov 2017 15:55:22 GMT
Repository: cassandra-builds
Updated Branches:
  refs/heads/master f0e63d662 -> 6cb397bb6


Add dtest repo/branch parameters to dev 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/6cb397bb
Tree: http://git-wip-us.apache.org/repos/asf/cassandra-builds/tree/6cb397bb
Diff: http://git-wip-us.apache.org/repos/asf/cassandra-builds/diff/6cb397bb

Branch: refs/heads/master
Commit: 6cb397bb69f942144b1c0cc39aa8d7375980c773
Parents: f0e63d6
Author: Michael Shuler <michael@pbandjelly.org>
Authored: Fri Nov 17 09:48:28 2017 -0600
Committer: Michael Shuler <michael@pbandjelly.org>
Committed: Fri Nov 17 09:48:28 2017 -0600

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


http://git-wip-us.apache.org/repos/asf/cassandra-builds/blob/6cb397bb/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 2daca85..fd2b779 100644
--- a/jenkins-dsl/cassandra_job_dsl_seed.groovy
+++ b/jenkins-dsl/cassandra_job_dsl_seed.groovy
@@ -448,6 +448,8 @@ job('Cassandra-devbranch-dtest') {
     parameters {
         stringParam('REPO', 'apache', 'The github user/org to clone cassandra repo from')
         stringParam('BRANCH', 'trunk', 'The branch of cassandra to checkout')
+        stringParam('DTEST_REPO', "${dtestRepo}", 'The cassandra-dtest repo URL')
+        stringParam('DTEST_BRANCH', 'master', 'The branch of cassandra-dtest to checkout')
     }
     scm {
         git {
@@ -462,7 +464,8 @@ job('Cassandra-devbranch-dtest') {
     }
     steps {
         buildDescription('', buildDescStr)
-        shell("git clean -xdff ; git clone -b ${buildsBranch} ${buildsRepo} ; git clone ${dtestRepo}")
+        shell("git clean -xdff ; git clone -b ${buildsBranch} ${buildsRepo}")
+        shell('git clone -b ${DTEST_BRANCH} ${DTEST_REPO}')
         shell('./cassandra-builds/build-scripts/cassandra-dtest.sh')
     }
     publishers {
@@ -499,6 +502,8 @@ matrixJob('Cassandra-devbranch-cqlsh-tests') {
     parameters {
         stringParam('REPO', 'apache', 'The github user/org to clone cassandra repo from')
         stringParam('BRANCH', 'trunk', 'The branch of cassandra to checkout')
+        stringParam('DTEST_REPO', "${dtestRepo}", 'The cassandra-dtest repo URL')
+        stringParam('DTEST_BRANCH', 'master', 'The branch of cassandra-dtest to checkout')
     }
     axes {
         text('cython', 'yes', 'no')
@@ -520,7 +525,8 @@ matrixJob('Cassandra-devbranch-cqlsh-tests') {
     }
     steps {
         buildDescription('', buildDescStr)
-        shell("git clean -xdff ; git clone -b ${buildsBranch} ${buildsRepo} ; git clone ${dtestRepo}")
+        shell("git clean -xdff ; git clone -b ${buildsBranch} ${buildsRepo}")
+        shell('git clone -b ${DTEST_BRANCH} ${DTEST_REPO}')
         shell('./cassandra-builds/build-scripts/cassandra-cqlsh-tests.sh')
     }
     publishers {


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


Mime
View raw message