You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/04/20 19:48:15 UTC

[camel] 03/03: Moving from master branch to main - Jenkinsfile

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

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

commit 42d8a94d9911a9fbebb436ff9152eff5dc5a42d8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Apr 20 21:47:09 2021 +0200

    Moving from master branch to main - Jenkinsfile
---
 Jenkinsfile               | 6 +++---
 Jenkinsfile.deploy        | 2 +-
 Jenkinsfile.full.pipeline | 6 +++---
 Jenkinsfile.jdk11         | 2 +-
 Jenkinsfile.jdk16         | 2 +-
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 67bf6a9..f9bf444 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -60,7 +60,7 @@ pipeline {
 
         stage('Build & Deploy') {
             when {
-                branch 'master'
+                branch 'main'
             }
             steps {
                 sh "./mvnw $MAVEN_PARAMS -Pdeploy -Dmaven.test.skip.exec=true clean deploy"
@@ -69,12 +69,12 @@ pipeline {
 
         stage('Website update') {
             when {
-                branch 'master'
+                branch 'main'
                 changeset 'docs/**/*'
             }
 
             steps {
-                build job: 'Camel/Camel.website/master', wait: false
+                build job: 'Camel/Camel.website/main', wait: false
             }
         }
 
diff --git a/Jenkinsfile.deploy b/Jenkinsfile.deploy
index 82e4bef..7ed9492 100644
--- a/Jenkinsfile.deploy
+++ b/Jenkinsfile.deploy
@@ -60,7 +60,7 @@ pipeline {
 
         stage('Build & Deploy') {
             when {
-                branch 'master'
+                branch 'main'
             }
             steps {
                 sh "./mvnw $MAVEN_PARAMS -Pdeploy -Dmaven.test.skip.exec=true clean deploy"
diff --git a/Jenkinsfile.full.pipeline b/Jenkinsfile.full.pipeline
index fc07992..8106f8e 100644
--- a/Jenkinsfile.full.pipeline
+++ b/Jenkinsfile.full.pipeline
@@ -48,9 +48,9 @@ pipeline {
         stage('Camel full pipeline') {
 
             steps {
-                build job: 'Camel/Apache Camel/master/', wait: true
-                build job: 'Camel/Camel-Karaf Daily/master/', wait: true
-                build job: 'Camel/Camel-Spring-Boot Daily/master', wait: true
+                build job: 'Camel/Apache Camel/main/', wait: true
+                build job: 'Camel/Camel-Karaf Daily/main/', wait: true
+                build job: 'Camel/Camel-Spring-Boot Daily/main', wait: true
             }
         }
 
diff --git a/Jenkinsfile.jdk11 b/Jenkinsfile.jdk11
index 87c7391..c9af873 100644
--- a/Jenkinsfile.jdk11
+++ b/Jenkinsfile.jdk11
@@ -60,7 +60,7 @@ pipeline {
 
         stage('Build & Deploy') {
             when {
-                branch 'master'
+                branch 'main'
             }
             steps {
                 sh "./mvnw $MAVEN_PARAMS -Dmaven.test.skip.exec=true clean install"
diff --git a/Jenkinsfile.jdk16 b/Jenkinsfile.jdk16
index a21b84c..18a71c9 100644
--- a/Jenkinsfile.jdk16
+++ b/Jenkinsfile.jdk16
@@ -60,7 +60,7 @@ pipeline {
 
         stage('Build & Deploy') {
             when {
-                branch 'master'
+                branch 'main'
             }
             steps {
                 sh "./mvnw $MAVEN_PARAMS -Darchetype.test.skip -Dmaven.test.skip.exec=true clean install"