{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/lockable-resources-plugin/issues/35","repository_url":"https://api.github.com/repos/jenkinsci/lockable-resources-plugin","labels_url":"https://api.github.com/repos/jenkinsci/lockable-resources-plugin/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/lockable-resources-plugin/issues/35/comments","events_url":"https://api.github.com/repos/jenkinsci/lockable-resources-plugin/issues/35/events","html_url":"https://github.com/jenkinsci/lockable-resources-plugin/pull/35","id":164190702,"number":35,"title":"JENKINS-36479. First work on auto-clearing invalid locks.","user":{"login":"abayer","id":120218,"avatar_url":"https://avatars.githubusercontent.com/u/120218?v=3","gravatar_id":"","url":"https://api.github.com/users/abayer","html_url":"https://github.com/abayer","followers_url":"https://api.github.com/users/abayer/followers","following_url":"https://api.github.com/users/abayer/following{/other_user}","gists_url":"https://api.github.com/users/abayer/gists{/gist_id}","starred_url":"https://api.github.com/users/abayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abayer/subscriptions","organizations_url":"https://api.github.com/users/abayer/orgs","repos_url":"https://api.github.com/users/abayer/repos","events_url":"https://api.github.com/users/abayer/events{/privacy}","received_events_url":"https://api.github.com/users/abayer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-06T22:37:02Z","updated_at":"2016-07-06T22:43:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/lockable-resources-plugin/pulls/35","html_url":"https://github.com/jenkinsci/lockable-resources-plugin/pull/35","diff_url":"https://github.com/jenkinsci/lockable-resources-plugin/pull/35.diff","patch_url":"https://github.com/jenkinsci/lockable-resources-plugin/pull/35.patch"},"body":"[JENKINS-36479](https://issues.jenkins-ci.org/browse/JENKINS-36479)\r\n\r\nUpdate LockRunListener to work with Runs rather than just\r\nAbstractProjects - this means that onCompleted and onDeleted will fire\r\ncorrectly, obviating the need for anything more special-case/complex.\r\n\r\nProbably supersedes #34 - this is a more general case solution that doesn't require new lock requests to clear the defunct locks.\r\n\r\ncc @reviewbybees, esp @jglick and @amuniz "},"comment":{"url":"https://api.github.com/repos/jenkinsci/lockable-resources-plugin/issues/comments/230929485","html_url":"https://github.com/jenkinsci/lockable-resources-plugin/pull/35#issuecomment-230929485","issue_url":"https://api.github.com/repos/jenkinsci/lockable-resources-plugin/issues/35","id":230929485,"user":{"login":"jglick","id":154109,"avatar_url":"https://avatars.githubusercontent.com/u/154109?v=3","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T22:43:14Z","updated_at":"2016-07-06T22:43:14Z","body":"@amuniz had some reason for using two sets of APIs: one for `AbstractBuild`, that assumed one lock per build; one for Pipeline `StepContext`, which worked for any number of locks per build. This seems to erode the distinction, so I am not sure if that is kosher."}}
{"actor":{"display_login":"jglick"}}