You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by mc...@apache.org on 2021/05/06 09:56:27 UTC

[cassandra-builds] 03/03: Correctly report SUCCESS pipelines

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 <mc...@apache.org>
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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org