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/11 07:43:15 UTC

[48/50] [abbrv] hbase git commit: HBASE-18467 move more debug into the script.

HBASE-18467 move more debug into the script.


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a78c7b3a
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a78c7b3a
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a78c7b3a

Branch: refs/heads/HBASE-18467
Commit: a78c7b3aaf03f6f3d8bf6211b04bb30b6d05f5b4
Parents: 7da6387
Author: Sean Busbey <bu...@apache.org>
Authored: Sun Aug 27 12:29:47 2017 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Mon Sep 11 02:34:50 2017 -0500

----------------------------------------------------------------------
 dev-support/Jenkinsfile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/a78c7b3a/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 225ca8d..bafb3f7 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -418,12 +418,14 @@ END
                  cat << 'EOF' > tmp_commit_file
 ${msg}
 EOF
+                 echo 'wrote message into file.'
+                 cat tmp_commit_file
+                 grep -o -E 'HBASE-[0-9]+' 'tmp_commit_file' >matched_jiras
+                 echo "finished filtering via grep."
+                 cat matched_jiras
 """
-               echo "finished writing commit to a file."
-               sh "grep -o -E 'HBASE-[0-9]+' 'tmp_commit_file' >matched_jiras"
-               echo "finished filtering via grep."
-               // End workaround for JENKINS-46258
                def jiras = readFile(file: 'matched_jiras').split()
+               // End workaround for JENKINS-46258
                if (jiras.length == 0) {
                  echo "[WARN] no JIRA key found in message, TODO email committer"
                }