You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2024/04/11 08:33:23 UTC

(camel) 13/19: Add another stage to send an email after every platform build.

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

orpiske pushed a commit to branch devel-camel-20383
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 24bdc186c20dcef3d3cb2b0453a80141fba07168
Author: Vaishnavi R <va...@var-thinkpadp1gen4i.remote.csb>
AuthorDate: Mon Apr 8 16:37:30 2024 +0530

    Add another stage to send an email after every platform build.
---
 Jenkinsfile.matrix.platform | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/Jenkinsfile.matrix.platform b/Jenkinsfile.matrix.platform
index 9ce9c978945..63f6e9f43aa 100644
--- a/Jenkinsfile.matrix.platform
+++ b/Jenkinsfile.matrix.platform
@@ -151,19 +151,20 @@ pipeline {
                             }
                         }
                     }
+                    stage('Email') {
+                        post {
+                            always {
+                                emailext(
+                                subject: '${DEFAULT_SUBJECT}',
+                                body: '${DEFAULT_CONTENT}',
+                                recipientProviders: [[$class: 'DevelopersRecipientProvider']]
+                                )
+                            }
+                        }
+                    }
                 }
             }
         }
     }
-
-    post {
-        always {
-            emailext(
-                subject: '${DEFAULT_SUBJECT}',
-                body: '${DEFAULT_CONTENT}',
-                recipientProviders: [[$class: 'DevelopersRecipientProvider']]
-            )
-        }
-    }
 }