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

jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/main by this push:
     new aedad90  Upgrade branch names on Jenkins
aedad90 is described below

commit aedad90e165bb920620fe0a70f991702289c0271
Author: Jean-Baptiste Onofré <jbono...@apache.org>
AuthorDate: Thu Sep 23 18:42:14 2021 +0200

    Upgrade branch names on Jenkins
---
 Jenkinsfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 2da7880..963b768 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -101,7 +101,7 @@ pipeline {
         stage('Deploy') {
             when {
                 expression {
-                    env.BRANCH_NAME ==~ /(karaf-4.2.x|main)/
+                    env.BRANCH_NAME ==~ /(karaf-4.3.x|main)/
                 }
             }
             steps {
@@ -116,7 +116,7 @@ pipeline {
         // If this build failed, send an email to the list.
         failure {
             script {
-                if(env.BRANCH_NAME == "karaf-4.2.x" || env.BRANCH_NAME == 
"main") {
+                if(env.BRANCH_NAME == "karaf-4.3.x" || env.BRANCH_NAME == 
"main") {
                     emailext(
                             subject: "[BUILD-FAILURE]: Job '${env.JOB_NAME} 
[${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
                             body: """
@@ -133,7 +133,7 @@ Check console output at "<a 
href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BRANC
         // If this build didn't fail, but there were failing tests, send an 
email to the list.
         unstable {
             script {
-                if(env.BRANCH_NAME == "karaf-4.2.x" || env.BRANCH_NAME == 
"main") {
+                if(env.BRANCH_NAME == "karaf-4.3.x" || env.BRANCH_NAME == 
"main") {
                     emailext(
                             subject: "[BUILD-UNSTABLE]: Job '${env.JOB_NAME} 
[${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
                             body: """
@@ -153,7 +153,7 @@ Check console output at "<a 
href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BRANC
             // (in this cae we probably don't have to do any post-build 
analysis)
             deleteDir()
             script {
-                if ((env.BRANCH_NAME == "karaf-4.2.x" || env.BRANCH_NAME == 
"main") && (currentBuild.previousBuild != null) && 
(currentBuild.previousBuild.result != 'SUCCESS')) {
+                if ((env.BRANCH_NAME == "karaf-4.3.x" || env.BRANCH_NAME == 
"main") && (currentBuild.previousBuild != null) && 
(currentBuild.previousBuild.result != 'SUCCESS')) {
                     emailext (
                             subject: "[BUILD-STABLE]: Job '${env.JOB_NAME} 
[${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
                             body: """

Reply via email to