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 0389012ee45bf614867260621b6f238cbe97ba11
Author: Vaishnavi R <[email protected]>
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']]
-            )
-        }
-    }
 }
 

Reply via email to