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:06:39 UTC

[camel] branch jenkinsfiles-clean created (now 00d29ed)

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

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


      at 00d29ed  Added a CLEAN stage to Jenkinsfile to Jenkinsfile.jdk14

This branch includes the following new commits:

     new ab7c51a  Added a CLEAN stage to Jenkinsfile to Jenkinsfile.deploy
     new 3ece563  Added a CLEAN stage to Jenkinsfile to Jenkinsfile.jdk11
     new f4fe0bf  Removed Jenkinsfile pipeline for JDK12
     new 00d29ed  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.



[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 jenkinsfiles-clean
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 00d29ed4ea96bdef9c119e06f7931d36dd736bd6
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'


[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 jenkinsfiles-clean
in repository https://gitbox.apache.org/repos/asf/camel.git

commit f4fe0bfe94eea3f216f0c87a03a10c1cbd98886d
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] 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 jenkinsfiles-clean
in repository https://gitbox.apache.org/repos/asf/camel.git

commit ab7c51ab228e34ce623f35b9dc113dab03e50f55
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] 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 jenkinsfiles-clean
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 3ece563e235f91e2e6a34e89efd40b35c8ccce45
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'