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/332d36a8 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/332d36a8 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/332d36a8 Branch: refs/heads/HBASE-18467 Commit: 332d36a804325a4cdcb60f65da85fd74699a7dd6 Parents: 4e87e8d Author: Sean Busbey <[email protected]> Authored: Sun Aug 27 12:29:47 2017 -0500 Committer: Sean Busbey <[email protected]> Committed: Wed Sep 13 22:51:11 2017 -0500 ---------------------------------------------------------------------- dev-support/Jenkinsfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/332d36a8/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" }
