You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2018/02/19 11:35:58 UTC

[camel] branch jenkins-pipeline updated (f06790d -> d0ca4be)

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

zregvart pushed a change to branch jenkins-pipeline
in repository https://gitbox.apache.org/repos/asf/camel.git.


 discard f06790d  CAMEL-11930: pipeline e-mail support
 discard 800b47e  CAMEL-11930: don't fail if no JUnit results found
     new 824ae93  CAMEL-11930: don't fail if no JUnit results found
     new d0ca4be  CAMEL-11930: pipeline e-mail support

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (f06790d)
            \
             N -- N -- N   refs/heads/jenkins-pipeline (d0ca4be)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
zregvart@apache.org.

[camel] 01/02: CAMEL-11930: don't fail if no JUnit results found

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch jenkins-pipeline
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 824ae931a9a9492e284de7f2da2cc86ea52d8b0c
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Feb 19 12:35:26 2018 +0100

    CAMEL-11930: don't fail if no JUnit results found
    
    Allowed JUnit test result archiver to proceed even if no test reports
    were created (i.e. if no modules have been changed and they were all
    skipped).
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 36f92dd..80d9b57 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -60,8 +60,8 @@ pipeline {
             }
             post {
                 always {
-                    junit '**/target/surefire-reports/*.xml'
-                    junit '**/target/failsafe-reports/*.xml'
+                    junit allowEmptyResults: true, testResults: '**/target/surefire-reports/*.xml'
+                    junit allowEmptyResults: true, testResults: '**/target/failsafe-reports/*.xml'
                 }
             }
         }

-- 
To stop receiving notification emails like this one, please contact
zregvart@apache.org.

[camel] 02/02: CAMEL-11930: pipeline e-mail support

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch jenkins-pipeline
in repository https://gitbox.apache.org/repos/asf/camel.git

commit d0ca4be8b51991a5d9f9bcfcf53939b7a86e4f61
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Feb 19 12:33:37 2018 +0100

    CAMEL-11930: pipeline e-mail support
    
    Pipeline build should now send e-mail notifications.
---
 Jenkinsfile | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 80d9b57..398b6c0 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -72,5 +72,16 @@ pipeline {
             }
         }
     }
+
+    post {
+        changed {
+            emailext(
+                subject: '${DEFAULT_SUBJECT}',
+                to: 'zoran+cameldev@regvart.com',
+                body: '${DEFAULT_CONTENT}',
+                recipientProviders: [[$class: 'CulpritsRecipientProvider']]
+            )
+        }
+    }
 }
 

-- 
To stop receiving notification emails like this one, please contact
zregvart@apache.org.