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

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

commit a351b781c9b7fa054d6892e4a3cff75759b2f4d3
Author: Mick Semb Wever <[email protected]>
AuthorDate: Thu Apr 22 13:59:17 2021 +0200

    Correctly report SUCCESS pipelines
    
     patch by Mick Semb Wever; reviewed by Tomek Łasica for CASSANDRA-16604
---
 jenkins-dsl/cassandra_pipeline.groovy | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/jenkins-dsl/cassandra_pipeline.groovy 
b/jenkins-dsl/cassandra_pipeline.groovy
index 62de17e..7e27687 100644
--- a/jenkins-dsl/cassandra_pipeline.groovy
+++ b/jenkins-dsl/cassandra_pipeline.groovy
@@ -12,6 +12,9 @@ pipeline {
       stage('Init') {
           steps {
               cleanWs()
+              script {
+                  currentBuild.result='SUCCESS'
+              }
               sh "git clone --depth 1 --single-branch -b ${BRANCH} 
https://github.com/${REPO}/cassandra.git";
               sh "test -f cassandra/.jenkins/Jenkinsfile"
               sh "git clone --depth 1 --single-branch -b ${DTEST_BRANCH} 
${DTEST_REPO}"

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to