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/02 05:25:24 UTC
[camel-karaf] 01/01: Removed Jenkinsfile.karaf.deploy,
we are now using a gh action for this purpose
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch deploy-karaf
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git
commit 44c91d26dd793dbed21a5ac9aa84ff70ca8c7d25
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Oct 2 07:24:47 2020 +0200
Removed Jenkinsfile.karaf.deploy, we are now using a gh action for this purpose
---
Jenkinsfile.karaf.deploy | 73 ------------------------------------------------
1 file changed, 73 deletions(-)
diff --git a/Jenkinsfile.karaf.deploy b/Jenkinsfile.karaf.deploy
deleted file mode 100644
index 22dfbc4..0000000
--- a/Jenkinsfile.karaf.deploy
+++ /dev/null
@@ -1,73 +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 LOCAL_REPOSITORY = env.LOCAL_REPOSITORY ?: '/home/jenkins/jenkins-slave/maven-repositories/0'
-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 "
-
-pipeline {
-
- agent {
- label AGENT_LABEL
- }
-
- triggers {
- cron('@daily')
- }
-
- 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 -Pdeploy -Dmaven.test.skip.exec=true clean deploy"
- }
- }
-
- }
-
- post {
- always {
- emailext(
- subject: '${DEFAULT_SUBJECT}',
- body: '${DEFAULT_CONTENT}',
- recipientProviders: [[$class: 'CulpritsRecipientProvider']]
- )
- }
- }
-}