You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2018/02/27 19:57:19 UTC
hbase git commit: HBASE-18467 fix comments from source tarball task.
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 <bu...@apache.org>
Authored: Tue Feb 27 13:57:04 2018 -0600
Committer: Sean Busbey <bu...@apache.org>
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 {