{"action":"created","issue":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-jenkins/issues/14","repository_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-jenkins","labels_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-jenkins/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-jenkins/issues/14/comments","events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-jenkins/issues/14/events","html_url":"https://github.com/sensu-plugins/sensu-plugins-jenkins/issues/14","id":181024193,"number":14,"title":"Support username/password for jenkins_client_api","user":{"login":"dkiser","id":5595213,"avatar_url":"https://avatars.githubusercontent.com/u/5595213?v=3","gravatar_id":"","url":"https://api.github.com/users/dkiser","html_url":"https://github.com/dkiser","followers_url":"https://api.github.com/users/dkiser/followers","following_url":"https://api.github.com/users/dkiser/following{/other_user}","gists_url":"https://api.github.com/users/dkiser/gists{/gist_id}","starred_url":"https://api.github.com/users/dkiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkiser/subscriptions","organizations_url":"https://api.github.com/users/dkiser/orgs","repos_url":"https://api.github.com/users/dkiser/repos","events_url":"https://api.github.com/users/dkiser/events{/privacy}","received_events_url":"https://api.github.com/users/dkiser/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-04T22:45:18Z","updated_at":"2016-10-05T21:18:11Z","closed_at":"2016-10-05T21:18:11Z","body":"In order to support authenticated Jenkins URL's, please add username and password options to the functions below throughout the plugin.\r\n\r\n```ruby\r\n  def jenkins\r\n    @jenkins ||= JenkinsApi::Client.new(server_url: config[:url], log_level: 3)\r\n  end\r\n```\r\n\r\nhttps://github.com/arangamani/jenkins_api_client suggest `username` and `password` args as so:\r\n```ruby\r\n@client = JenkinsApi::Client.new(:server_ip => '0.0.0.0',\r\n         :username => 'somename', :password => 'secret password')\r\n```"},"comment":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-jenkins/issues/comments/251802522","html_url":"https://github.com/sensu-plugins/sensu-plugins-jenkins/issues/14#issuecomment-251802522","issue_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-jenkins/issues/14","id":251802522,"user":{"login":"sstarcher","id":3778974,"avatar_url":"https://avatars.githubusercontent.com/u/3778974?v=3","gravatar_id":"","url":"https://api.github.com/users/sstarcher","html_url":"https://github.com/sstarcher","followers_url":"https://api.github.com/users/sstarcher/followers","following_url":"https://api.github.com/users/sstarcher/following{/other_user}","gists_url":"https://api.github.com/users/sstarcher/gists{/gist_id}","starred_url":"https://api.github.com/users/sstarcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstarcher/subscriptions","organizations_url":"https://api.github.com/users/sstarcher/orgs","repos_url":"https://api.github.com/users/sstarcher/repos","events_url":"https://api.github.com/users/sstarcher/events{/privacy}","received_events_url":"https://api.github.com/users/sstarcher/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T21:18:11Z","updated_at":"2016-10-05T21:18:11Z","body":"#15 should close this"}}
{"actor":{"display_login":"sstarcher"}}