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/09/25 00:56:19 UTC
hbase git commit: HBASE-18467 cleanup before any actionable stages.
Repository: hbase
Updated Branches:
refs/heads/HBASE-18467 275352024 -> 51e49957c
HBASE-18467 cleanup before any actionable stages.
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/51e49957
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/51e49957
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/51e49957
Branch: refs/heads/HBASE-18467
Commit: 51e49957c92cfe76be0bbdea45fd1bda10ccb6c0
Parents: 2753520
Author: Sean Busbey <bu...@apache.org>
Authored: Sun Sep 24 19:56:03 2017 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Sun Sep 24 19:56:03 2017 -0500
----------------------------------------------------------------------
dev-support/Jenkinsfile | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/51e49957/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 14d1dbd..4cda58b 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -114,6 +114,13 @@ curl -L -o personality.sh "${env.PROJET_PERSONALITY}"
stash name: 'yetus', includes: "yetus-*/*,yetus-*/**/*,tools/personality.sh"
}
}
+ stage ('cleanup') {
+ steps {
+ sh '''#!/usr/bin/env bash
+ rm -rf "${OUTPUTDIR_GENERAL}/success" "${OUTPUTDIR_GENERAL}/failure" "${OUTPUTDIR_JDK7}/success" "${OUTPUTDIR_JDK7}/failure" "${OUTPUTDIR_JDK8}/success" "${OUTPUTDIR_JDK8}/failure" "${WORKSPACE}/src_tarball_success" "${WORKSPACE}/src_tarball_failure"
+'''
+ }
+ }
stage ('yetus general check') {
environment {
// TODO does hadoopcheck need to be jdk specific?
@@ -129,7 +136,6 @@ curl -L -o personality.sh "${env.PROJET_PERSONALITY}"
unstash 'yetus'
// TODO should this be a download from master, similar to how the personality is?
sh '''#!/usr/bin/env bash
- rm -f "${OUTPUTDIR}/success" "${OUTPUTDIR}/failure"
declare commentfile
if "${BASEDIR}/dev-support/hbase_nightly_yetus.sh" ; then
commentfile="${OUTPUTDIR}/success"
@@ -176,7 +182,6 @@ curl -L -o personality.sh "${env.PROJET_PERSONALITY}"
TESTS+=",findbugs"
fi
declare commentfile
- rm -f "${OUTPUTDIR}/success" "${OUTPUTDIR}/failure"
if "${BASEDIR}/dev-support/hbase_nightly_yetus.sh" ; then
commentfile="${OUTPUTDIR}/success"
echo '(/) {color:green}+1 jdk7 checks{color}' >> "${commentfile}"
@@ -237,7 +242,6 @@ curl -L -o personality.sh "${env.PROJET_PERSONALITY}"
unstash 'yetus'
sh '''#!/usr/bin/env bash
declare commentfile
- rm -f "${OUTPUTDIR}/success" "${OUTPUTDIR}/failure"
if "${BASEDIR}/dev-support/hbase_nightly_yetus.sh" ; then
commentfile="${OUTPUTDIR}/success"
echo '(/) {color:green}+1 jdk8 checks{color}' >> "${commentfile}"
@@ -318,7 +322,6 @@ curl -L -o personality.sh "${env.PROJET_PERSONALITY}"
}
// expectation check largely based on HBASE-14952
sh '''#!/bin/bash -e
- rm -rf "${env.WORKSPACE}/src_tarball_success" "${env.WORKSPACE}/src_tarball_failure"
echo "Checking against things we don't expect to include in the source tarball (git related, hbase-native-client, etc.)"
cat >known_excluded <<END
Only in .: .git