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 2020/10/07 10:07:29 UTC

[camel] branch master updated (a50c01a -> c202302)

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

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


    from a50c01a  Added a CLEAN stage to Jenkinsfile
     new e58cace  Added a CLEAN stage to Jenkinsfile to Jenkinsfile.deploy
     new e16b983  Added a CLEAN stage to Jenkinsfile to Jenkinsfile.jdk11
     new 9144465  Removed Jenkinsfile pipeline for JDK12
     new c202302  Added a CLEAN stage to Jenkinsfile to Jenkinsfile.jdk14

The 4 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.deploy | 13 ++++++++
 Jenkinsfile.jdk11  | 13 ++++++++
 Jenkinsfile.jdk12  | 87 ------------------------------------------------------
 Jenkinsfile.jdk14  | 13 ++++++++
 4 files changed, 39 insertions(+), 87 deletions(-)
 delete mode 100644 Jenkinsfile.jdk12


[camel] 01/04: Added a CLEAN stage to Jenkinsfile to Jenkinsfile.deploy

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

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

commit e58cace9edac295d7190d75fceee8cc1101ffe91
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Oct 7 11:58:56 2020 +0200

    Added a CLEAN stage to Jenkinsfile to Jenkinsfile.deploy
---
 Jenkinsfile.deploy | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Jenkinsfile.deploy b/Jenkinsfile.deploy
index db6d992..765d9c3 100644
--- a/Jenkinsfile.deploy
+++ b/Jenkinsfile.deploy
@@ -43,8 +43,21 @@ pipeline {
         disableConcurrentBuilds()
     }
 
+    parameters {
+        booleanParam(name: 'CLEAN', defaultValue: false, description: 'Perform the build in clean workspace')
+    }
+
     stages {
 
+        stage('Clean workspace') {
+             when {
+                 expression { params.CLEAN }
+             }
+             steps {
+                 sh 'git clean -fdx'
+           }
+        }
+
         stage('Build & Deploy') {
             when {
                 branch 'master'


[camel] 03/04: Removed Jenkinsfile pipeline for JDK12

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

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

commit 9144465a840e077f6f224821314f662a113bd9ea
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Oct 7 12:05:14 2020 +0200

    Removed Jenkinsfile pipeline for JDK12
---
 Jenkinsfile.jdk12 | 87 -------------------------------------------------------
 1 file changed, 87 deletions(-)

diff --git a/Jenkinsfile.jdk12 b/Jenkinsfile.jdk12
deleted file mode 100644
index 546f80f..0000000
--- a/Jenkinsfile.jdk12
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-def AGENT_LABEL = env.AGENT_LABEL ?: 'ubuntu'
-def JDK_NAME = env.JDK_NAME ?: 'JDK 12 (latest)'
-
-def MAVEN_PARAMS = "-U -B -e -fae -V -Dnoassembly -Dmaven.compiler.fork=true -Dsurefire.rerunFailingTestsCount=2"
-
-pipeline {
-
-    agent {
-        label AGENT_LABEL
-    }
-
-    tools {
-        jdk JDK_NAME
-    }
-
-    environment {
-        MAVEN_SKIP_RC = true
-    }
-
-    options {
-        buildDiscarder(
-            logRotator(artifactNumToKeepStr: '5', numToKeepStr: '10')
-        )
-        disableConcurrentBuilds()
-    }
-
-    stages {
-
-        stage('Build & Deploy') {
-            when {
-                branch 'master'
-            }
-            steps {
-                sh "./mvnw $MAVEN_PARAMS -Dmaven.test.skip.exec=true clean install"
-            }
-        }
-
-        stage('Checks') {
-            steps {
-                sh "./mvnw $MAVEN_PARAMS -Psourcecheck -Dcheckstyle.failOnViolation=false checkstyle:check"
-            }
-        }
-
-        stage('Test') {
-            steps {
-                sh "./mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true clean install"
-            }
-            post {
-                always {
-                    junit allowEmptyResults: true, testResults: '**/target/surefire-reports/*.xml'
-                    junit allowEmptyResults: true, testResults: '**/target/failsafe-reports/*.xml'
-                }
-            }
-        }
-
-    }
-
-    post {
-        always {
-            emailext(
-                subject: '${DEFAULT_SUBJECT}',
-                body: '${DEFAULT_CONTENT}',
-                recipientProviders: [[$class: 'CulpritsRecipientProvider']]
-            )
-        }
-    }
-}
-


[camel] 02/04: Added a CLEAN stage to Jenkinsfile to Jenkinsfile.jdk11

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

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

commit e16b983b78250754fd0bcde75d3714417b81ef8d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Oct 7 12:04:20 2020 +0200

    Added a CLEAN stage to Jenkinsfile to Jenkinsfile.jdk11
---
 Jenkinsfile.jdk11 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Jenkinsfile.jdk11 b/Jenkinsfile.jdk11
index f6709f2..bf7f4c2 100644
--- a/Jenkinsfile.jdk11
+++ b/Jenkinsfile.jdk11
@@ -43,8 +43,21 @@ pipeline {
         disableConcurrentBuilds()
     }
 
+    parameters {
+        booleanParam(name: 'CLEAN', defaultValue: false, description: 'Perform the build in clean workspace')
+    }
+
     stages {
 
+        stage('Clean workspace') {
+             when {
+                 expression { params.CLEAN }
+             }
+             steps {
+                 sh 'git clean -fdx'
+           }
+        }
+
         stage('Build & Deploy') {
             when {
                 branch 'master'


[camel] 04/04: Added a CLEAN stage to Jenkinsfile to Jenkinsfile.jdk14

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

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

commit c2023023818ca4eb3c8ca75d5370d496920c4c7b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Oct 7 12:05:59 2020 +0200

    Added a CLEAN stage to Jenkinsfile to Jenkinsfile.jdk14
---
 Jenkinsfile.jdk14 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Jenkinsfile.jdk14 b/Jenkinsfile.jdk14
index 25523de..622b76b 100644
--- a/Jenkinsfile.jdk14
+++ b/Jenkinsfile.jdk14
@@ -43,8 +43,21 @@ pipeline {
         disableConcurrentBuilds()
     }
 
+    parameters {
+        booleanParam(name: 'CLEAN', defaultValue: false, description: 'Perform the build in clean workspace')
+    }
+
     stages {
 
+        stage('Clean workspace') {
+             when {
+                 expression { params.CLEAN }
+             }
+             steps {
+                 sh 'git clean -fdx'
+           }
+        }
+
         stage('Build & Deploy') {
             when {
                 branch 'master'