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 51fb85a9db05efac231630e0e3621a6aa65483b6
Merge: f884dda75b 87bdbb7182
Author: Mick Semb Wever <m...@apache.org>
AuthorDate: Sun Jun 19 16:39:18 2022 +0200

    Merge branch 'cassandra-3.0' into cassandra-3.11

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

diff --cc .jenkins/Jenkinsfile
index 31f06d280d,4ea5de3e8a..75b9a66cbb
--- a/.jenkins/Jenkinsfile
+++ b/.jenkins/Jenkinsfile
@@@ -47,34 -48,8 +47,35 @@@ pipeline 
            }
          }
        }
 -      stage('Test') {
 +    }
 +    stage('Test') {
          parallel {
 +          stage('stress') {
 +            steps {
 +              script {
 +                def attempt = 1
-                 retry(2) {
++                while (attempt <=2) {
 +                  if (attempt > 1) {
 +                    sleep(60 * attempt)
 +                  }
 +                  attempt = attempt + 1
 +                  stress = build job: "${env.JOB_NAME}-stress-test", 
propagate: false
++                  if (stress.result != 'FAILURE') break
 +                }
 +                if (stress.result != 'SUCCESS') unstable('stress test 
failures')
 +                if (stress.result == 'FAILURE') currentBuild.result='FAILURE'
 +              }
 +            }
 +            post {
 +              always {
 +                  warnError('missing test xml files') {
 +                      script {
 +                          copyTestResults('stress-test', stress.getNumber())
 +                      }
 +                  }
 +              }
 +            }
 +          }
            stage('units') {
              steps {
                script {
@@@ -150,31 -128,6 +154,32 @@@
                }
              }
            }
 +          stage('cdc') {
 +            steps {
 +              script {
 +                def attempt = 1
-                 retry(2) {
++                while (attempt <=2) {
 +                  if (attempt > 1) {
 +                    sleep(60 * attempt)
 +                  }
 +                  attempt = attempt + 1
 +                  cdc = build job: "${env.JOB_NAME}-test-cdc", propagate: 
false
++                  if (cdc.result != 'FAILURE') break
 +                }
 +                if (cdc.result != 'SUCCESS') unstable('cdc failures')
 +                if (cdc.result == 'FAILURE') currentBuild.result='FAILURE'
 +              }
 +            }
 +            post {
 +              always {
 +                  warnError('missing test xml files') {
 +                      script {
 +                          copyTestResults('test-cdc', cdc.getNumber())
 +                      }
 +                  }
 +              }
 +            }
 +          }
            stage('compression') {
              steps {
                script {
@@@ -354,31 -314,6 +366,32 @@@
                }
              }
            }
 +          stage('dtest-offheap') {
 +            steps {
 +              script {
 +                def attempt = 1
-                 retry(2) {
++                while (attempt <=2) {
 +                  if (attempt > 1) {
 +                    sleep(60 * attempt)
 +                  }
 +                  attempt = attempt + 1
 +                  dtest_offheap = build job: "${env.JOB_NAME}-dtest-offheap", 
propagate: false
++                  if (dtest_offheap.result != 'FAILURE') break
 +                }
 +                if (dtest_offheap.result != 'SUCCESS') 
unstable('dtest-offheap failures')
 +                if (dtest_offheap.result == 'FAILURE') 
currentBuild.result='FAILURE'
 +              }
 +            }
 +            post {
 +              always {
 +                warnError('missing test xml files') {
 +                    script {
 +                        copyTestResults('dtest-offheap', 
dtest_offheap.getNumber())
 +                    }
 +                }
 +              }
 +            }
 +          }
            stage('dtest-large-novnode') {
              steps {
                script {


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

Reply via email to