HBASE-18467 move changelist out of a variable.
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e783153e Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e783153e Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e783153e Branch: refs/heads/HBASE-18467 Commit: e783153eca310677ba3826c5dd606823b06307ea Parents: 332d36a Author: Sean Busbey <bus...@apache.org> Authored: Sun Aug 27 12:49:33 2017 -0500 Committer: Sean Busbey <bus...@apache.org> Committed: Wed Sep 13 22:51:11 2017 -0500 ---------------------------------------------------------------------- dev-support/Jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/e783153e/dev-support/Jenkinsfile ---------------------------------------------------------------------- diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile index bafb3f7..012a9c8 100644 --- a/dev-support/Jenkinsfile +++ b/dev-support/Jenkinsfile @@ -395,6 +395,7 @@ END echo "[INFO] There are ${currentBuild.changeSets.size()} change sets." def seenJiras = [] for (int i = 0; i < currentBuild.changeSets.size(); i++) { +/* def changelist = currentBuild.changeSets.get(i) if ( changelist.isEmptySet() ) { echo "[DEBUG] change set was empty, skipping JIRA comments." @@ -402,6 +403,8 @@ END echo "[DEBUG] there are changes in the change set. Attempting to post comments." } def changes = changelist.getItems() +*/ + def changes = currentBuild.changeSets.get(i).getItems() for (int j = 0; j < changes.length; j++) { def change = changes[j] CharSequence msg = change.msg