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
The following commit(s) were added to refs/heads/master by this push:
new a408db9 Added a jenkinsfile for a full build of
camel->camel-sb->camel-karaf
a408db9 is described below
commit a408db9e01c1ecc200b6dccbff0b9238ca1c302d
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Apr 2 08:48:47 2020 +0200
Added a jenkinsfile for a full build of camel->camel-sb->camel-karaf
---
Jenkinsfile.full.pipeline | 90 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 90 insertions(+)
diff --git a/Jenkinsfile.full.pipeline b/Jenkinsfile.full.pipeline
new file mode 100644
index 0000000..f210a4f
--- /dev/null
+++ b/Jenkinsfile.full.pipeline
@@ -0,0 +1,90 @@
+/*
+ * 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 1.8 (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('Camel master') {
+ when {
+ branch 'master'
+ }
+
+ steps {
+ build job: 'Apache Camel/master', wait: false
+ }
+ }
+
+ stage('Camel-spring-boot') {
+ when {
+ branch 'master'
+ }
+
+ steps {
+ build job: 'camel.daily.sb', wait: false
+ }
+ }
+
+ stage('Camel-karaf') {
+ when {
+ branch 'master'
+ }
+
+ steps {
+ build job: 'camel.daily.karaf', wait: false
+ }
+ }
+
+ }
+
+ post {
+ always {
+ emailext(
+ subject: '${DEFAULT_SUBJECT}',
+ body: '${DEFAULT_CONTENT}',
+ recipientProviders: [[$class: 'CulpritsRecipientProvider']]
+ )
+ }
+ }
+}
+