{"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":15,"created_at":"2015-07-27T17:46:36Z","updated_at":"2015-07-28T20:53:52Z","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/125751286","html_url":"https://github.com/jenkinsci/analysis-core-plugin/pull/31#issuecomment-125751286","issue_url":"https://api.github.com/repos/jenkinsci/analysis-core-plugin/issues/31","id":125751286,"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-28T20:53:52Z","updated_at":"2015-07-28T20:53:52Z","body":"I still suspect that it will break one of my previous closed-source plugins, but I cannot prove it. Anyway, I'm removing my bug, because there're enough tests in dependencies. I would be happy to see several workflow snippets, but it's optional.\r\n\r\n@amuniz  @uhafner \r\nMy gut-feeling it may be better to declare 2.0 instead of polishing all methods. I think changes for the <code>Job</code>s support should be done in any case, but \r\n\r\nAnother way I can propose is to create base classes for every entry and then use existing class suites only as a backward-compatible wrapper. In such way it should be possible to provide a backward-compatible change, but I'm aware about the required efforts. I could try to implement a proof of concept, but I'm aware about possible code duplications in child plugins."}}