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 2018/01/09 21:21:51 UTC

cassandra-builds git commit: Update deprecated junit and test stability syntax

Repository: cassandra-builds
Updated Branches:
  refs/heads/master 99474cfea -> 3ec1497d1


Update deprecated junit and test stability syntax

- Switch publisher syntax from junit to archiveJunit()
- Switch stabilityTestDataPublisher() to publishTestStabilityData()


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

Branch: refs/heads/master
Commit: 3ec1497d17aacdb8fdb7dc6f0f20126a95df8d03
Parents: 99474cf
Author: Michael Shuler <mi...@pbandjelly.org>
Authored: Tue Jan 9 15:20:38 2018 -0600
Committer: Michael Shuler <mi...@pbandjelly.org>
Committed: Tue Jan 9 15:20:38 2018 -0600

----------------------------------------------------------------------
 jenkins-dsl/cassandra_job_dsl_seed.groovy | 29 +++++++++++---------------
 1 file changed, 12 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-builds/blob/3ec1497d/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 fd2b779..7526d35 100644
--- a/jenkins-dsl/cassandra_job_dsl_seed.groovy
+++ b/jenkins-dsl/cassandra_job_dsl_seed.groovy
@@ -142,10 +142,9 @@ job('Cassandra-template-test') {
         shell("git clean -xdff ; git clone -b ${buildsBranch} ${buildsRepo}")
     }
     publishers {
-        junit {
-            testResults('**/TEST-*.xml')
+        archiveJunit('**/TEST-*.xml') {
             testDataPublishers {
-                stabilityTestDataPublisher()
+                publishTestStabilityData()
             }
         }
         postBuildTask {
@@ -190,10 +189,9 @@ job('Cassandra-template-dtest') {
     }
     publishers {
         archiveArtifacts('test_stdout.txt')
-        junit {
-            testResults('cassandra-dtest/nosetests.xml')
+        archiveJunit('cassandra-dtest/nosetests.xml') {
             testDataPublishers {
-                stabilityTestDataPublisher()
+                publishTestStabilityData()
             }
         }
         postBuildTask {
@@ -245,10 +243,9 @@ matrixJob('Cassandra-template-cqlsh-tests') {
         shell("git clean -xdff ; git clone -b ${buildsBranch} ${buildsRepo} ; git clone ${dtestRepo}")
     }
     publishers {
-        junit {
-            testResults('cqlshlib.xml, nosetests.xml')
+        archiveJunit('cqlshlib.xml, nosetests.xml') {
             testDataPublishers {
-                stabilityTestDataPublisher()
+                publishTestStabilityData()
             }
         }
         postBuildTask {
@@ -414,10 +411,9 @@ job('Cassandra-devbranch-testall') {
         shell('./cassandra-builds/build-scripts/cassandra-unittest.sh test-all')
     }
     publishers {
-        junit {
-            testResults('**/TEST-*.xml')
+        archiveJunit('**/TEST-*.xml') {
             testDataPublishers {
-                stabilityTestDataPublisher()
+                publishTestStabilityData()
             }
         }
         postBuildTask {
@@ -470,10 +466,9 @@ job('Cassandra-devbranch-dtest') {
     }
     publishers {
         archiveArtifacts('test_stdout.txt')
-        junit {
-            testResults('cassandra-dtest/nosetests.xml')
+        archiveJunit('cassandra-dtest/nosetests.xml') {
             testDataPublishers {
-                stabilityTestDataPublisher()
+                publishTestStabilityData()
             }
         }
         postBuildTask {
@@ -530,10 +525,10 @@ matrixJob('Cassandra-devbranch-cqlsh-tests') {
         shell('./cassandra-builds/build-scripts/cassandra-cqlsh-tests.sh')
     }
     publishers {
-        junit {
+        archiveJunit('cqlshlib.xml, nosetests.xml') {
             testResults('cqlshlib.xml, nosetests.xml')
             testDataPublishers {
-                stabilityTestDataPublisher()
+                publishTestStabilityData()
             }
         }
         postBuildTask {


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