From commits-return-68597-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Tue Feb 27 20:57:20 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 56C2C180651 for ; Tue, 27 Feb 2018 20:57:20 +0100 (CET) Received: (qmail 63509 invoked by uid 500); 27 Feb 2018 19:57:19 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 63493 invoked by uid 99); 27 Feb 2018 19:57:19 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Feb 2018 19:57:19 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2B1AEF4E14; Tue, 27 Feb 2018 19:57:19 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: busbey@apache.org To: commits@hbase.apache.org Message-Id: <884041b35b724db0b7acb82eb5af9d5e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hbase git commit: HBASE-18467 fix comments from source tarball task. Date: Tue, 27 Feb 2018 19:57:19 +0000 (UTC) Repository: hbase Updated Branches: refs/heads/HBASE-15151 8acfbb50d -> 495303421 HBASE-18467 fix comments from source tarball task. Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/49530342 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/49530342 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/49530342 Branch: refs/heads/HBASE-15151 Commit: 4953034216f57518aa39773d3c58c6e9c14e0e52 Parents: 8acfbb5 Author: Sean Busbey Authored: Tue Feb 27 13:57:04 2018 -0600 Committer: Sean Busbey Committed: Tue Feb 27 13:57:04 2018 -0600 ---------------------------------------------------------------------- dev-support/Jenkinsfile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/49530342/dev-support/Jenkinsfile ---------------------------------------------------------------------- diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile index 4a7eb82..4f37ba6 100644 --- a/dev-support/Jenkinsfile +++ b/dev-support/Jenkinsfile @@ -384,7 +384,6 @@ curl -L -o personality.sh "${env.PROJECT_PERSONALITY}" rm -rf "unpacked_src_tarball" && mkdir "unpacked_src_tarball" rm -rf ".m2-for-repo" && mkdir ".m2-for-repo" rm -rf ".m2-for-src" && mkdir ".m2-for-src" - rm -rf "src_tarball_commentfile" ''' sh '''#!/usr/bin/env bash rm -rf "output-srctarball/machine" && mkdir "output-srctarball/machine" @@ -401,15 +400,15 @@ curl -L -o personality.sh "${env.PROJECT_PERSONALITY}" """ } post { - always { - archive 'output-srctarball/*' - } // This approach only works because the source release artifact is the last stage that does work. success { - writeFile file: "${env.WORKSPACE}/src_tarball_commentfile", text: '(/) {color:green}+1 source release artifact{color}\n-- See build output for details.' + writeFile file: "output-srctarball/commentfile", text: '(/) {color:green}+1 source release artifact{color}\n-- See build output for details.' } failure { - writeFile file: "${env.WORKSPACE}/src_tarball_commentfile", text: '(x) {color:red}-1 source release artifact{color}\n-- See build output for details.' + writeFile file: "output-srctarball/commentfile", text: '(x) {color:red}-1 source release artifact{color}\n-- See build output for details.' + } + always { + archive 'output-srctarball/*' } } } @@ -425,13 +424,13 @@ curl -L -o personality.sh "${env.PROJECT_PERSONALITY}" "${env.OUTPUT_DIR_RELATIVE_JDK7}/commentfile", "${env.OUTPUT_DIR_RELATIVE_HADOOP2}/commentfile", "${env.OUTPUT_DIR_RELATIVE_HADOOP3}/commentfile", - 'src_tarball_commentfile'] + 'output-srctarball/commentfile'] echo env.BRANCH_NAME echo env.BUILD_URL echo currentBuild.result echo currentBuild.durationString def comment = "Results for branch ${env.BRANCH_NAME}, done in ${currentBuild.durationString}\n" - comment += "\t[build ${currentBuild.displayName} on builds.a.o|${env.BUILD_URL}]: ${currentBuild.result}\n----\ndetails (if available):\n\n" + comment += "\t[build ${currentBuild.displayName} on builds.a.o|${env.BUILD_URL}]:\n----\ndetails (if available):\n\n" if (currentBuild.result == "SUCCESS") { comment += "(/) *{color:green}+1 overall{color}*\n\n" } else {