You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by nd...@apache.org on 2020/03/31 16:51:40 UTC

[hbase] branch branch-2 updated: HBASE-22022 nightly fails rat check down in the dev-support/hbase_nightly_source-artifact.sh check

This is an automated email from the ASF dual-hosted git repository.

ndimiduk pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new c5a3ab7  HBASE-22022 nightly fails rat check down in the dev-support/hbase_nightly_source-artifact.sh check
c5a3ab7 is described below

commit c5a3ab75048cd7d60757c2d08b979a49fdcf44d0
Author: stack <st...@apache.org>
AuthorDate: Sun Mar 10 15:00:04 2019 -0700

    HBASE-22022 nightly fails rat check down in the dev-support/hbase_nightly_source-artifact.sh check
---
 dev-support/hbase_nightly_source-artifact.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-support/hbase_nightly_source-artifact.sh b/dev-support/hbase_nightly_source-artifact.sh
index c435c48..cd17a32 100755
--- a/dev-support/hbase_nightly_source-artifact.sh
+++ b/dev-support/hbase_nightly_source-artifact.sh
@@ -182,5 +182,8 @@ if mvn -DskipTests -Prelease --batch-mode -Dmaven.repo.local="${m2_tarbuild}" cl
     fi
   done
 fi
-echo "Building a binary tarball from the source tarball failed. see srtarball_install.log for details."
+echo "Building a binary tarball from the source tarball failed. see srctarball_install.log for details."
+# Copy up the rat.txt to the working dir so available in build archive in case rat complaints.
+# rat.txt can be under any module target dir... copy them all up renaming them to include parent dir as we go.
+find ${unpack_dir} -name rat.txt -type f | while IFS= read -r NAME; do cp -v "$NAME" "${working_dir}/${NAME//\//_}"; done
 exit 1