{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/ownership-plugin/issues/45","repository_url":"https://api.github.com/repos/jenkinsci/ownership-plugin","labels_url":"https://api.github.com/repos/jenkinsci/ownership-plugin/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/ownership-plugin/issues/45/comments","events_url":"https://api.github.com/repos/jenkinsci/ownership-plugin/issues/45/events","html_url":"https://github.com/jenkinsci/ownership-plugin/pull/45","id":135220523,"number":45,"title":"[JENKINS-32353] - Pipeline plugin support in Ownership Plugin","user":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jenkinsci/ownership-plugin/labels/work-in-progress","name":"work-in-progress","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-02-21T15:47:53Z","updated_at":"2016-07-09T21:30:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/ownership-plugin/pulls/45","html_url":"https://github.com/jenkinsci/ownership-plugin/pull/45","diff_url":"https://github.com/jenkinsci/ownership-plugin/pull/45.diff","patch_url":"https://github.com/jenkinsci/ownership-plugin/pull/45.patch"},"body":"- [x] - Manage Ownership UI and summary boxes\r\n- [x] - Global <code>ownership</code> variable for workflow CPS\r\n- [x] - Expose node ownership info if possible\r\n- [x] - Functional tests for Ownership variable\r\n- [x] - Functional tests for Ownership-based security\r\n- [x] - Documentation\r\n\r\nhttps://issues.jenkins-ci.org/browse/JENKINS-32353"},"comment":{"url":"https://api.github.com/repos/jenkinsci/ownership-plugin/issues/comments/231556901","html_url":"https://github.com/jenkinsci/ownership-plugin/pull/45#issuecomment-231556901","issue_url":"https://api.github.com/repos/jenkinsci/ownership-plugin/issues/45","id":231556901,"user":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"created_at":"2016-07-09T21:30:07Z","updated_at":"2016-07-09T21:30:07Z","body":"> DO NOT DO THIS\r\n\r\nIt was a dirty hack to workaround \"RejectedAccessException: Scripts not permitted to use method groovy.lang.GroovyObject getProperty java.lang.String (org.jenkinsci.plugins.workflow.cps.CpsClosure2.env\", which I get in code. Likely the cause is similar to https://issues.jenkins-ci.org/browse/JENKINS-30414. Investigating (still happens on 1.609.3 Jenkins core and 1.14).\r\n\r\nExplicit dependency on the newest script-security helps in this case (like @jglick suggested) "}}
{"actor":{"display_login":"oleg-nenashev"}}