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 2017/11/09 15:30:53 UTC
[2/2] hbase git commit: HBASE-19228 nightly job should gather machine
stats.
HBASE-19228 nightly job should gather machine stats.
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e7c43a78
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e7c43a78
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e7c43a78
Branch: refs/heads/HBASE-19228
Commit: e7c43a7880f9d45c9c1f3a034523c00425c4e9d5
Parents: e55c1c4
Author: Sean Busbey <bu...@apache.org>
Authored: Thu Nov 9 09:29:26 2017 -0600
Committer: Sean Busbey <bu...@apache.org>
Committed: Thu Nov 9 09:29:26 2017 -0600
----------------------------------------------------------------------
dev-support/Jenkinsfile | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/e7c43a78/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index f7ae546..591f902 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -127,6 +127,10 @@ curl -L -o personality.sh "${env.PROJET_PERSONALITY}"
}
steps {
unstash 'yetus'
+ sh '''#!/usr/bin/env bash
+ rm -rf "${OUTPUTDIR}/machine" && mkdir "${OUTPUTDIR}/machine"
+ "${BASEDIR}/dev-support/gather_machine_environment.sh" "${OUTPUT_RELATIVE}/machine"
+'''
// TODO should this be a download from master, similar to how the personality is?
sh "${env.BASEDIR}/dev-support/hbase_nightly_yetus.sh"
}
@@ -159,6 +163,10 @@ curl -L -o personality.sh "${env.PROJET_PERSONALITY}"
}
steps {
unstash 'yetus'
+ sh '''#!/usr/bin/env bash
+ rm -rf "${OUTPUTDIR}/machine" && mkdir "${OUTPUTDIR}/machine"
+ "${BASEDIR}/dev-support/gather_machine_environment.sh" "${OUTPUT_RELATIVE}/machine"
+'''
sh """#!/usr/bin/env bash
# for branch-1.1 we don't do jdk8 findbugs, so do it here
if [ "${env.BRANCH_NAME}" == "branch-1.1" ]; then
@@ -215,6 +223,10 @@ curl -L -o personality.sh "${env.PROJET_PERSONALITY}"
}
steps {
unstash 'yetus'
+ sh '''#!/usr/bin/env bash
+ rm -rf "${OUTPUTDIR}/machine" && mkdir "${OUTPUTDIR}/machine"
+ "${BASEDIR}/dev-support/gather_machine_environment.sh" "${OUTPUT_RELATIVE}/machine"
+'''
sh "${env.BASEDIR}/dev-support/hbase_nightly_yetus.sh"
}
post {
@@ -265,6 +277,10 @@ curl -L -o personality.sh "${env.PROJET_PERSONALITY}"
rm -rf ".m2-for-repo" && mkdir ".m2-for-repo"
rm -rf ".m2-for-src" && mkdir ".m2-for-src"
'''
+ sh '''#!/usr/bin/env bash
+ rm -rf "output-srctarball/machine" && mkdir "output-srctarball/machine"
+ "${BASEDIR}/dev-support/gather_machine_environment.sh" "output-srctarball/machine"
+'''
sh """#!/bin/bash -e
${env.BASEDIR}/dev-support/hbase_nightly_source-artifact.sh \
--intermediate-file-dir output-srctarball \