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 2019/02/21 14:44:21 UTC
[camel-k-runtime] branch master updated: Removed PR Job,
lets do this with Travis
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-k-runtime.git
The following commit(s) were added to refs/heads/master by this push:
new 1d0e803 Removed PR Job, lets do this with Travis
1d0e803 is described below
commit 1d0e8036aed08a335980ff21e697cdee2677f9ca
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 21 15:44:02 2019 +0100
Removed PR Job, lets do this with Travis
---
Jenkinsfile.pr | 69 ----------------------------------------------------------
1 file changed, 69 deletions(-)
diff --git a/Jenkinsfile.pr b/Jenkinsfile.pr
deleted file mode 100644
index bb19dae..0000000
--- a/Jenkinsfile.pr
+++ /dev/null
@@ -1,69 +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 pr_result
-
-def MAVEN_PARAMS = "-U -B -e -fae -V -Dmaven.repo.local=${LOCAL_REPOSITORY}"
-
-pipeline {
-
- agent {
- label AGENT_LABEL
- }
-
- tools {
- jdk JDK_NAME
- }
-
- options {
- buildDiscarder(
- logRotator(artifactNumToKeepStr: '5', numToKeepStr: '10')
- )
- disableConcurrentBuilds()
- }
-
- stages {
-
- stage('Test') {
- steps {
- script {
- pr_result = sh script: "./mvnw $MAVEN_PARAMS clean install -f pom.xml"
- }
- }
- }
-
- }
-
- post {
- always {
- emailext(
- subject: '${DEFAULT_SUBJECT}',
- body: '${DEFAULT_CONTENT}',
- recipientProviders: [[$class: 'CulpritsRecipientProvider']]
- )
- script {
- currentBuild.result = pr_result == 0 ? 'SUCCESS' : 'FAILURE'
- }
- }
- }
-}