Skip to content
Permalink
Browse files
Moving from master branch to main - Jenkinsfile
  • Loading branch information
oscerd committed Apr 20, 2021
1 parent 2d369c1 commit 42d8a94d9911a9fbebb436ff9152eff5dc5a42d8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
@@ -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
}
}

@@ -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"
@@ -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
}
}

@@ -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"
@@ -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"

0 comments on commit 42d8a94

Please sign in to comment.