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

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

commit 2f8fe3754d68ebfaf55c1f9fe9e534e4e1800e3a
Merge: 996c0ad bc7ca56
Author: Mick Semb Wever <m...@apache.org>
AuthorDate: Wed May 6 13:09:58 2020 +0200

    Merge branch 'cassandra-3.0' into cassandra-3.11

 .jenkins/Jenkinsfile | 42 +++++++++++++++++++++++++++---------------
 1 file changed, 27 insertions(+), 15 deletions(-)

diff --cc .jenkins/Jenkinsfile
index 384bcab,22fe692..767db54
--- a/.jenkins/Jenkinsfile
+++ b/.jenkins/Jenkinsfile
@@@ -38,29 -38,6 +38,27 @@@ pipeline 
        }
        stage('Test') {
            parallel {
 +            stage('stress') {
 +              steps {
-                   warnError('Tests unstable') {
-                       build job: "${env.JOB_NAME}-stress-test"
-                   }
++                  build job: "${env.JOB_NAME}-stress-test"
 +              }
 +              post {
 +                success {
 +                    warnError('missing test xml files') {
 +                        script {
 +                            copyTestResults('stress-test')
 +                        }
 +                    }
 +                }
 +                unstable {
 +                    warnError('missing test xml files') {
 +                        script {
 +                            copyTestResults('stress-test')
 +                        }
 +                    }
 +                }
 +              }
 +            }
              stage('JVM DTests') {
                steps {
                    warnError('Tests unstable') {
@@@ -295,43 -249,34 +293,57 @@@
                  }
                }
              }
 +            stage('dtest-offheap') {
 +              steps {
 +                  warnError('Tests unstable') {
 +                    build job: "${env.JOB_NAME}-dtest-offheap"
 +                  }
 +              }
 +              post {
 +                success {
 +                    warnError('missing test xml files') {
 +                        script {
 +                            copyTestResults('dtest-offheap')
 +                        }
 +                    }
 +                }
 +                unstable {
 +                    warnError('missing test xml files') {
 +                        script {
 +                            copyTestResults('dtest-offheap')
 +                        }
 +                    }
 +                }
 +              }
 +            }
            }
-       }
-       stage('Summary') {
-         steps {
-             junit '**/TEST*.xml,**/cqlshlib.xml,**/nosetests.xml'
- 
-             // the following should fail on any installation other than 
builds.apache.org
-             //  TODO: keep jenkins infrastructure related settings in 
`cassandra_job_dsl_seed.groovy`
-             warnError('cannot send notifications') {
-               slackSend channel: '#cassandra-builds', message: 
"${currentBuild.fullDisplayName} completed: ${currentBuild.result}. See 
${env.BUILD_URL}"
-               emailext to: 'bui...@cassandra.apache.org', subject: "Build 
complete: ${currentBuild.fullDisplayName} [${currentBuild.result}] 
${env.GIT_COMMIT}", body: '${CHANGES}  ${JELLY_SCRIPT,template="text"}'
-             }
          }
+     stage('Summary') {
+       steps {
+           sh "git clone 
https://gitbox.apache.org/repos/asf/cassandra-builds.git";
+           sh "./cassandra-builds/build-scripts/cassandra-test-report.sh"
+           junit '**/build/test/**/TEST*.xml,**/cqlshlib.xml,**/nosetests.xml'
+ 
+           // the following should fail on any installation other than 
builds.apache.org
+           //  TODO: keep jenkins infrastructure related settings in 
`cassandra_job_dsl_seed.groovy`
+           warnError('cannot send notifications') {
+               slackSend channel: '#cassandra-builds', message: ":apache: 
<${env.BUILD_URL}|${currentBuild.fullDisplayName}> completed: 
${currentBuild.result}. ${env.GIT_COMMIT}\n${CHANGES}"
+               emailext to: 'bui...@cassandra.apache.org', subject: "Build 
complete: ${currentBuild.fullDisplayName} [${currentBuild.result}] 
${env.GIT_COMMIT}", body: '''
+ 
-------------------------------------------------------------------------------
+ Build ${ENV,var="JOB_NAME"} #${BUILD_NUMBER} ${BUILD_STATUS}
+ URL: ${BUILD_URL}
+ 
-------------------------------------------------------------------------------
+ Changes:
+ ${CHANGES}
+ 
-------------------------------------------------------------------------------
+ Failed Tests:
+ ${FAILED_TESTS,maxTests=500,showMessage=false,showStack=false}
+ 
-------------------------------------------------------------------------------
+ ${FILE,path="cassandra-test-report.txt"}
+ '''
+           }
        }
+     }
    }
  }
  


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

Reply via email to