You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by vo...@apache.org on 2021/02/02 16:18:14 UTC

[myfaces] branch master updated (b8b84c1 -> 17d94eb)

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

volosied pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces.git.


 discard b8b84c1  Fix JenkinsFile
     new 17d94eb  Fix JenkinsFile

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   (b8b84c1)
            \
             N -- N -- N   refs/heads/master (17d94eb)

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 1 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 | 1 -
 1 file changed, 1 deletion(-)


[myfaces] 01/01: Fix JenkinsFile

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

volosied pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces.git

commit 17d94ebcc5373cd65662e1a2df3af629df862616
Author: Volodymyr Siedlecki <vo...@gmail.com>
AuthorDate: Tue Feb 2 10:08:23 2021 -0500

    Fix JenkinsFile
---
 Jenkinsfile | 114 +++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 59 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 73bbf8c..be661da 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -32,38 +32,34 @@ pipeline {
         pollSCM('@hourly')
     }
 
-    stage ('Build and Test - Java 8') {
-        options {
-        timeout(time: 4, unit: 'HOURS')
-            retry(2)
-        }
-        steps {
-            sh 'mvn -V clean verify checkstyle:check apache-rat:check'
-        }
-        post {
-            always {
-                junit '**/target/surefire-reports/*.xml'
-                deleteDir()
+    stages {
+        stage ('Build & Test') {
+            tools {
+                maven "maven_latest"
+                jdk "jdk_1.8_latest"
+            }
+            options {
+                timeout(time: 2, unit: 'HOURS')
+                retry(2)
+            }
+            steps {
+                sh 'mvn -V clean verify checkstyle:check apache-rat:check'
+            }
+            post {
+                always {
+                    junit '**/target/surefire-reports/*.xml'
+                    archiveArtifacts '**/target/*.jar'
+                }
             }
         }
-    }
 
-    stage ('Deploy') {
-        options {
-            timeout(time: 2, unit: 'HOURS')
-            retry(2)
-        }
-        tools {
-            maven "maven_latest"
-            jdk "jdk_8_latest"
-        }
-        steps {
-            sh "mvn clean deploy -Pgenerate-assembly"
-        }
-        post {
-            always {
-                junit(testResults: '**/surefire-reports/*.xml', allowEmptyResults: true)
-                archiveArtifacts '**/target/*.jar'
+        stage('Deploy') {
+            tools {
+                maven "maven_latest"
+                jdk "jdk_1.8_latest"
+            }
+            steps {
+                sh "mvn clean deploy -Pgenerate-assembly"
             }
         }
     }
@@ -71,44 +67,44 @@ pipeline {
     post {
         // Build Failed
         failure {
-        mail to: "notifications@myfaces.apache.org",
-        subject: "Jenkins pipeline failed: ${currentBuild.fullDisplayName}",
-        body: 
-        """
-        Jenkins build URL: ${env.BUILD_URL}
-        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
-        """
+            mail to: "notifications@myfaces.apache.org",
+            subject: "Jenkins pipeline failed: ${currentBuild.fullDisplayName}",
+            body: 
+            """
+            Jenkins build URL: ${env.BUILD_URL}
+            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
+            """
         }
 
         // Build succeeded, but some tests failed
         unstable {
-        mail to: "notifications@myfaces.apache.org",
-        subject: "Jenkins pipeline failed: ${currentBuild.fullDisplayName}",
-        body: 
-        """
-        Jenkins build URL: ${env.BUILD_URL}
-        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
-        """
+            mail to: "notifications@myfaces.apache.org",
+            subject: "Jenkins pipeline failed: ${currentBuild.fullDisplayName}",
+            body: 
+            """
+            Jenkins build URL: ${env.BUILD_URL}
+            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
+            """
         }
 
         // Last build failed, but current one was successful
         fixed {
-        mail to: "notifications@myfaces.apache.org",
-        subject: "Jenkins pipeline is back to normal: ${currentBuild.fullDisplayName}",
-        body: 
-        """
-        Jenkins build URL: ${env.BUILD_URL}
-        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
-        """
+            mail to: "notifications@myfaces.apache.org",
+            subject: "Jenkins pipeline is back to normal: ${currentBuild.fullDisplayName}",
+            body: 
+            """
+            Jenkins build URL: ${env.BUILD_URL}
+            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
+            """
         }
     }
 }