You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2020/08/27 06:45:56 UTC

[myfaces-tobago] branch tobago-2.x updated (9f720f0 -> 574791c)

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

lofwyr pushed a change to branch tobago-2.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git.


    from 9f720f0  check if tools.jar is needed with JDK 1.8 (and higher)
     new 11e25b3  e-mail notifications sync structure of file with master
     new 574791c  fix rat check

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 | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 pom.xml     |  3 +++
 2 files changed, 83 insertions(+), 1 deletion(-)


[myfaces-tobago] 02/02: fix rat check

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

lofwyr pushed a commit to branch tobago-2.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 574791cff30e35088f36bbb66b143a116e4b26e6
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Thu Aug 27 08:45:15 2020 +0200

    fix rat check
---
 pom.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pom.xml b/pom.xml
index 0e81178..bff6382 100644
--- a/pom.xml
+++ b/pom.xml
@@ -992,6 +992,9 @@
 
               <!-- photo shop -->
               <exclude>**/*.psd</exclude>
+
+              <!-- pixelmator -->
+              <exclude>**/*.pxm</exclude>
             </excludes>
           </configuration>
         </plugin>


[myfaces-tobago] 01/02: e-mail notifications sync structure of file with master

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

lofwyr pushed a commit to branch tobago-2.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 11e25b3e451ce53de4db82399038f07e90e9773a
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Wed Aug 26 20:56:00 2020 +0200

    e-mail notifications
    sync structure of file with master
---
 Jenkinsfile | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 80 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index bce0602..204daa9 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -55,7 +55,7 @@ pipeline {
                 stages {
                     stage('BuildAndTest') {
                         steps {
-                            sh "mvn clean deploy checkstyle:check apache-rat:check animal-sniffer:check dependency-check:check -Pgenerate-assembly"
+                            sh "mvn clean package checkstyle:check apache-rat:check animal-sniffer:check dependency-check:check -Pgenerate-assembly"
                         }
                         post {
                             always {
@@ -68,5 +68,84 @@ pipeline {
                 }
             }
         }
+        stage('Deploy') {
+            tools {
+                maven "Maven (latest)"
+                jdk "JDK 1.8 (latest)"
+            }
+            steps {
+                sh "mvn clean deploy -Pgenerate-assembly"
+            }
+        }
+    }
+  post {
+    // If this build failed, send an email to the list.
+    failure {
+      script {
+        emailext(
+            to: "notifications@myfaces.apache.org",
+            recipientProviders: [[$class: 'DevelopersRecipientProvider']],
+            from: "Mr. Jenkins <je...@builds.apache.org>",
+            subject: "Jenkins job ${env.JOB_NAME}#${env.BUILD_NUMBER} failed",
+            body: """
+There is a build failure in ${env.JOB_NAME}.
+
+Build: ${env.BUILD_URL}
+Logs: ${env.BUILD_URL}console
+Changes: ${env.BUILD_URL}changes
+
+--
+Mr. Jenkins
+Director of Continuous Integration
+"""
+        )
+      }
+    }
+
+    // If this build didn't fail, but there were failing tests, send an email to the list.
+    unstable {
+      script {
+        emailext(
+            to: "notifications@myfaces.apache.org",
+            recipientProviders: [[$class: 'DevelopersRecipientProvider']],
+            from: "Mr. Jenkins <je...@builds.apache.org>",
+            subject: "Jenkins job ${env.JOB_NAME}#${env.BUILD_NUMBER} unstable",
+            body: """
+Some tests have failed in ${env.JOB_NAME}.
+
+Build: ${env.BUILD_URL}
+Logs: ${env.BUILD_URL}console
+Changes: ${env.BUILD_URL}changes
+
+--
+Mr. Jenkins
+Director of Continuous Integration
+"""
+        )
+      }
+    }
+
+    // Send an email, if the last build was not successful and this one is.
+    fixed {
+      script {
+        emailext(
+            to: "notifications@myfaces.apache.org",
+            recipientProviders: [[$class: 'DevelopersRecipientProvider']],
+            from: 'Mr. Jenkins <je...@builds.apache.org>',
+            subject: "Jenkins job ${env.JOB_NAME}#${env.BUILD_NUMBER} back to normal",
+            body: """
+The build for ${env.JOB_NAME} completed successfully and is back to normal.
+
+Build: ${env.BUILD_URL}
+Logs: ${env.BUILD_URL}console
+Changes: ${env.BUILD_URL}changes
+
+--
+Mr. Jenkins
+Director of Continuous Integration
+"""
+        )
+      }
+    }
     }
 }
\ No newline at end of file