{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/analysis-core-plugin/issues/31","labels_url":"https://api.github.com/repos/jenkinsci/analysis-core-plugin/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/analysis-core-plugin/issues/31/comments","events_url":"https://api.github.com/repos/jenkinsci/analysis-core-plugin/issues/31/events","html_url":"https://github.com/jenkinsci/analysis-core-plugin/pull/31","id":97517048,"number":31,"title":"[JENKINS-25977] Add workflow compatibility","user":{"login":"amuniz","id":1017585,"avatar_url":"https://avatars.githubusercontent.com/u/1017585?v=3","gravatar_id":"","url":"https://api.github.com/users/amuniz","html_url":"https://github.com/amuniz","followers_url":"https://api.github.com/users/amuniz/followers","following_url":"https://api.github.com/users/amuniz/following{/other_user}","gists_url":"https://api.github.com/users/amuniz/gists{/gist_id}","starred_url":"https://api.github.com/users/amuniz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amuniz/subscriptions","organizations_url":"https://api.github.com/users/amuniz/orgs","repos_url":"https://api.github.com/users/amuniz/repos","events_url":"https://api.github.com/users/amuniz/events{/privacy}","received_events_url":"https://api.github.com/users/amuniz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-07-27T17:46:36Z","updated_at":"2015-07-29T12:27:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/analysis-core-plugin/pulls/31","html_url":"https://github.com/jenkinsci/analysis-core-plugin/pull/31","diff_url":"https://github.com/jenkinsci/analysis-core-plugin/pull/31.diff","patch_url":"https://github.com/jenkinsci/analysis-core-plugin/pull/31.patch"},"body":"https://issues.jenkins-ci.org/browse/JENKINS-25977\r\n\r\nRequired changes to make this plugin compatible with Workflow jobs. After this changes any plugin extending ```analysis-core``` can be adapted to use Workflow too.\r\n\r\nDownstream of https://github.com/jenkinsci/analysis-pom-plugin/pull/2"},"comment":{"url":"https://api.github.com/repos/jenkinsci/analysis-core-plugin/issues/comments/125935528","html_url":"https://github.com/jenkinsci/analysis-core-plugin/pull/31#issuecomment-125935528","issue_url":"https://api.github.com/repos/jenkinsci/analysis-core-plugin/issues/31","id":125935528,"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":"2015-07-29T12:27:09Z","updated_at":"2015-07-29T12:27:09Z","body":"@amuniz , @stephenc \r\n\r\n> Loving this magic annotations :-) I'm a little confused with @WithBridgeMethods javadoc. Do you think castRequired attribute shouldn't be used here?\r\n\r\n> I believe you need castRequired but I would check with @jglick (who I believe has used this more often than I)... if all else fails \"Use the source, Luke\", i.e. @kohsuke\r\n\r\n<code>castRequired</code> should be used according to the code. BTW it will cause a class cast exception if something is wrong => it still may break plugins, which explicitly require <code>AbstractBuild</code>s, but occasionally get Run in the control from.\r\n\r\nNo workaround for this issue BTW\r\n\r\n"}}