{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/mesos-plugin/issues/48","labels_url":"https://api.github.com/repos/jenkinsci/mesos-plugin/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/mesos-plugin/issues/48/comments","events_url":"https://api.github.com/repos/jenkinsci/mesos-plugin/issues/48/events","html_url":"https://github.com/jenkinsci/mesos-plugin/issues/48","id":37828780,"number":48,"title":"Have an option to only allow a slave to run one job and then terminate","user":{"login":"jeid64","id":1271427,"avatar_url":"https://avatars.githubusercontent.com/u/1271427?v=3","gravatar_id":"","url":"https://api.github.com/users/jeid64","html_url":"https://github.com/jeid64","followers_url":"https://api.github.com/users/jeid64/followers","following_url":"https://api.github.com/users/jeid64/following{/other_user}","gists_url":"https://api.github.com/users/jeid64/gists{/gist_id}","starred_url":"https://api.github.com/users/jeid64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeid64/subscriptions","organizations_url":"https://api.github.com/users/jeid64/orgs","repos_url":"https://api.github.com/users/jeid64/repos","events_url":"https://api.github.com/users/jeid64/events{/privacy}","received_events_url":"https://api.github.com/users/jeid64/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-07-14T21:13:54Z","updated_at":"2015-04-19T22:38:35Z","closed_at":null,"body":"Is it possible to have the Jenkins plugin only spin up a slave and use it for one run of a job and then kill the slave after the run is finished so that the slave only is used once? We're testing out the containerizer features and only want a container to live for one run of a job. I've seen this feature in other Jenkins plugins where the framework checks if a job has been run on a slave and if a job has run it kills the slave and spins up another one."},"comment":{"url":"https://api.github.com/repos/jenkinsci/mesos-plugin/issues/comments/94320683","html_url":"https://github.com/jenkinsci/mesos-plugin/issues/48#issuecomment-94320683","issue_url":"https://api.github.com/repos/jenkinsci/mesos-plugin/issues/48","id":94320683,"user":{"login":"vinodkone","id":48131,"avatar_url":"https://avatars.githubusercontent.com/u/48131?v=3","gravatar_id":"","url":"https://api.github.com/users/vinodkone","html_url":"https://github.com/vinodkone","followers_url":"https://api.github.com/users/vinodkone/followers","following_url":"https://api.github.com/users/vinodkone/following{/other_user}","gists_url":"https://api.github.com/users/vinodkone/gists{/gist_id}","starred_url":"https://api.github.com/users/vinodkone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinodkone/subscriptions","organizations_url":"https://api.github.com/users/vinodkone/orgs","repos_url":"https://api.github.com/users/vinodkone/repos","events_url":"https://api.github.com/users/vinodkone/events{/privacy}","received_events_url":"https://api.github.com/users/vinodkone/received_events","type":"User","site_admin":false},"created_at":"2015-04-19T22:38:35Z","updated_at":"2015-04-19T22:38:35Z","body":"I would love to have this feature merged in. @barkerd427 any chance you can send a PR for this?"}}