HBASE-18467 since getLogs is off limits, try using getItems.

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

Branch: refs/heads/HBASE-18467
Commit: 7536a994b7ab6bba73d881085fad933b047b5876
Parents: 2ae4304
Author: Sean Busbey <bus...@apache.org>
Authored: Sun Aug 27 10:53:16 2017 -0500
Committer: Sean Busbey <bus...@apache.org>
Committed: Wed Sep 13 22:51:11 2017 -0500

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/7536a994/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 5b6bb9e..3432849 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -401,9 +401,9 @@ END
              } else {
                echo "[DEBUG] there are changes in the change set. Attempting 
to post comments."
              }
-             def changes = changelist.getLogs()
-             for (int j = 0; j < changes.size(); j++) {
-               def change = changes.get(j)
+             def changes = changelist.getItems()
+             for (int j = 0; j < changes.length; j++) {
+               def change = changes[j]
                CharSequence msg = change.msg
                echo "[DEBUG] msg is of class ${msg.class}"
                echo "change: ${change}"

Reply via email to