{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/pulls/comments/67364749","id":67364749,"diff_hunk":"@@ -98,37 +94,22 @@ class GlobalEventsPlugin extends Plugin implements Describable<GlobalEventsPlugi\n         private boolean onJobCompleted = true;\n         private boolean onJobFinalized = true;\n         private boolean onJobDeleted = true;\n+        private boolean onNodeLaunchFailure = true;\n+        private boolean onNodeOnline = true;\n+        private boolean onNodeOffline = true;\n+        private boolean onNodeTempOnline = true;\n+        private boolean onNodeTempOffline = true;\n+        private boolean onQueueWaiting = true;\n+        private boolean onQueueBlocked = true;\n+        private boolean onQueueBuildable = true;\n+        private boolean onQueueLeft = true;\n         private int scheduleTime = 0;\n         private String classPath = null;\n \n         void setDisableSynchronization(boolean disableSynchronization) {\n             this.disableSynchronization = disableSynchronization\n         }\n \n-        boolean getOnJobDeleted() {","path":"src/main/groovy/org/jenkinsci/plugins/globalEventsPlugin/GlobalEventsPlugin.groovy","position":42,"original_position":42,"commit_id":"0ed89f746194f2834c5fb44ebf4d2f659148346a","original_commit_id":"0ed89f746194f2834c5fb44ebf4d2f659148346a","user":{"login":"llaaiiqq","id":625718,"avatar_url":"https://avatars.githubusercontent.com/u/625718?v=3","gravatar_id":"","url":"https://api.github.com/users/llaaiiqq","html_url":"https://github.com/llaaiiqq","followers_url":"https://api.github.com/users/llaaiiqq/followers","following_url":"https://api.github.com/users/llaaiiqq/following{/other_user}","gists_url":"https://api.github.com/users/llaaiiqq/gists{/gist_id}","starred_url":"https://api.github.com/users/llaaiiqq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llaaiiqq/subscriptions","organizations_url":"https://api.github.com/users/llaaiiqq/orgs","repos_url":"https://api.github.com/users/llaaiiqq/repos","events_url":"https://api.github.com/users/llaaiiqq/events{/privacy}","received_events_url":"https://api.github.com/users/llaaiiqq/received_events","type":"User","site_admin":false},"body":"..nope, you're right. Setting works fine, but display is broken. ","created_at":"2016-06-16T15:18:55Z","updated_at":"2016-06-16T15:18:55Z","html_url":"https://github.com/jenkinsci/groovy-events-listener-plugin/pull/19#discussion_r67364749","pull_request_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/pulls/comments/67364749"},"html":{"href":"https://github.com/jenkinsci/groovy-events-listener-plugin/pull/19#discussion_r67364749"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/pulls/19","id":73949303,"html_url":"https://github.com/jenkinsci/groovy-events-listener-plugin/pull/19","diff_url":"https://github.com/jenkinsci/groovy-events-listener-plugin/pull/19.diff","patch_url":"https://github.com/jenkinsci/groovy-events-listener-plugin/pull/19.patch","issue_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/issues/19","number":19,"state":"open","locked":false,"title":"Add computer, queue listeners","user":{"login":"llaaiiqq","id":625718,"avatar_url":"https://avatars.githubusercontent.com/u/625718?v=3","gravatar_id":"","url":"https://api.github.com/users/llaaiiqq","html_url":"https://github.com/llaaiiqq","followers_url":"https://api.github.com/users/llaaiiqq/followers","following_url":"https://api.github.com/users/llaaiiqq/following{/other_user}","gists_url":"https://api.github.com/users/llaaiiqq/gists{/gist_id}","starred_url":"https://api.github.com/users/llaaiiqq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llaaiiqq/subscriptions","organizations_url":"https://api.github.com/users/llaaiiqq/orgs","repos_url":"https://api.github.com/users/llaaiiqq/repos","events_url":"https://api.github.com/users/llaaiiqq/events{/privacy}","received_events_url":"https://api.github.com/users/llaaiiqq/received_events","type":"User","site_admin":false},"body":"Fixes #5 \r\n\r\nChanges proposed in this pull request:\r\n- Added computerListener to track node activity\r\n- Added queueListener to track jobs in the queue\r\n\r\n- [X] Includes tests covering the new functionality?\r\n- [X] Ready for review\r\n- [X] Follows CONTRIBUTING rules\r\n\r\n@nickgrealy","created_at":"2016-06-15T17:10:47Z","updated_at":"2016-06-16T15:18:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8daad467ea7df4ea8a767ce25b0d077d1fbe52a9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/pulls/19/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/pulls/19/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/issues/19/comments","statuses_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/statuses/0ed89f746194f2834c5fb44ebf4d2f659148346a","head":{"label":"llaaiiqq:master","ref":"master","sha":"0ed89f746194f2834c5fb44ebf4d2f659148346a","user":{"login":"llaaiiqq","id":625718,"avatar_url":"https://avatars.githubusercontent.com/u/625718?v=3","gravatar_id":"","url":"https://api.github.com/users/llaaiiqq","html_url":"https://github.com/llaaiiqq","followers_url":"https://api.github.com/users/llaaiiqq/followers","following_url":"https://api.github.com/users/llaaiiqq/following{/other_user}","gists_url":"https://api.github.com/users/llaaiiqq/gists{/gist_id}","starred_url":"https://api.github.com/users/llaaiiqq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llaaiiqq/subscriptions","organizations_url":"https://api.github.com/users/llaaiiqq/orgs","repos_url":"https://api.github.com/users/llaaiiqq/repos","events_url":"https://api.github.com/users/llaaiiqq/events{/privacy}","received_events_url":"https://api.github.com/users/llaaiiqq/received_events","type":"User","site_admin":false},"repo":{"id":60360512,"name":"groovy-events-listener-plugin","full_name":"llaaiiqq/groovy-events-listener-plugin","owner":{"login":"llaaiiqq","id":625718,"avatar_url":"https://avatars.githubusercontent.com/u/625718?v=3","gravatar_id":"","url":"https://api.github.com/users/llaaiiqq","html_url":"https://github.com/llaaiiqq","followers_url":"https://api.github.com/users/llaaiiqq/followers","following_url":"https://api.github.com/users/llaaiiqq/following{/other_user}","gists_url":"https://api.github.com/users/llaaiiqq/gists{/gist_id}","starred_url":"https://api.github.com/users/llaaiiqq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llaaiiqq/subscriptions","organizations_url":"https://api.github.com/users/llaaiiqq/orgs","repos_url":"https://api.github.com/users/llaaiiqq/repos","events_url":"https://api.github.com/users/llaaiiqq/events{/privacy}","received_events_url":"https://api.github.com/users/llaaiiqq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/llaaiiqq/groovy-events-listener-plugin","description":"A Jenkins plugin, which executes groovy code when an event occurs.","fork":true,"url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin","forks_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/forks","keys_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/teams","hooks_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/hooks","issue_events_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/events","assignees_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/tags","blobs_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/languages","stargazers_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/stargazers","contributors_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/contributors","subscribers_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/subscribers","subscription_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/subscription","commits_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/merges","archive_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/downloads","issues_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/labels{/name}","releases_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/llaaiiqq/groovy-events-listener-plugin/deployments","created_at":"2016-06-03T16:02:19Z","updated_at":"2016-06-03T16:02:20Z","pushed_at":"2016-06-15T21:06:07Z","git_url":"git://github.com/llaaiiqq/groovy-events-listener-plugin.git","ssh_url":"git@github.com:llaaiiqq/groovy-events-listener-plugin.git","clone_url":"https://github.com/llaaiiqq/groovy-events-listener-plugin.git","svn_url":"https://github.com/llaaiiqq/groovy-events-listener-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Groovy+Events+Listener+Plugin","size":205,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"e755d744d608b1be01c8fdbed5a576799e427a6f","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":42699137,"name":"groovy-events-listener-plugin","full_name":"jenkinsci/groovy-events-listener-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/groovy-events-listener-plugin","description":"A Jenkins plugin, which executes groovy code when an event occurs.","fork":true,"url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin","forks_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/deployments","created_at":"2015-09-18T04:11:38Z","updated_at":"2016-03-07T22:19:17Z","pushed_at":"2016-06-15T21:06:08Z","git_url":"git://github.com/jenkinsci/groovy-events-listener-plugin.git","ssh_url":"git@github.com:jenkinsci/groovy-events-listener-plugin.git","clone_url":"https://github.com/jenkinsci/groovy-events-listener-plugin.git","svn_url":"https://github.com/jenkinsci/groovy-events-listener-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Groovy+Events+Listener+Plugin","size":195,"stargazers_count":3,"watchers_count":3,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/pulls/19"},"html":{"href":"https://github.com/jenkinsci/groovy-events-listener-plugin/pull/19"},"issue":{"href":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/issues/19"},"comments":{"href":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/groovy-events-listener-plugin/statuses/0ed89f746194f2834c5fb44ebf4d2f659148346a"}}}}
{"actor":{"display_login":"llaaiiqq"}}