{"action":"created","issue":{"url":"https://api.github.com/repos/spinnaker/igor/issues/42","labels_url":"https://api.github.com/repos/spinnaker/igor/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/spinnaker/igor/issues/42/comments","events_url":"https://api.github.com/repos/spinnaker/igor/issues/42/events","html_url":"https://github.com/spinnaker/igor/pull/42","id":118154211,"number":42,"title":"Capture Jenkins job names correctly when the folder plugin is being used","user":{"login":"AMeng","id":192336,"avatar_url":"https://avatars.githubusercontent.com/u/192336?v=3","gravatar_id":"","url":"https://api.github.com/users/AMeng","html_url":"https://github.com/AMeng","followers_url":"https://api.github.com/users/AMeng/followers","following_url":"https://api.github.com/users/AMeng/following{/other_user}","gists_url":"https://api.github.com/users/AMeng/gists{/gist_id}","starred_url":"https://api.github.com/users/AMeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AMeng/subscriptions","organizations_url":"https://api.github.com/users/AMeng/orgs","repos_url":"https://api.github.com/users/AMeng/repos","events_url":"https://api.github.com/users/AMeng/events{/privacy}","received_events_url":"https://api.github.com/users/AMeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-21T00:14:42Z","updated_at":"2015-12-01T23:36:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spinnaker/igor/pulls/42","html_url":"https://github.com/spinnaker/igor/pull/42","diff_url":"https://github.com/spinnaker/igor/pull/42.diff","patch_url":"https://github.com/spinnaker/igor/pull/42.patch"},"body":"This is meant to address https://github.com/spinnaker/spinnaker/issues/605.\r\nI still need to test this further, but this will at least grab the job names from the API. I'm able to hit `http://localhost:8080/jobs/<JenkinsName>/` and see a list of jobs with the expected names:\r\n\r\n```json\r\n[\r\n  \"Job1\",\r\n  \"Folder1/job/Job2\",\r\n  \"Folder1/job/Folder2/job/Job3\"\r\n]\r\n```\r\nIts also likely that a few endpoints will need to be updated since they currently have the job names in the middle of other parameters, such as \"/jobs/{jobName}/builds\" which could be troublesome."},"comment":{"url":"https://api.github.com/repos/spinnaker/igor/issues/comments/161132018","html_url":"https://github.com/spinnaker/igor/pull/42#issuecomment-161132018","issue_url":"https://api.github.com/repos/spinnaker/igor/issues/42","id":161132018,"user":{"login":"AMeng","id":192336,"avatar_url":"https://avatars.githubusercontent.com/u/192336?v=3","gravatar_id":"","url":"https://api.github.com/users/AMeng","html_url":"https://github.com/AMeng","followers_url":"https://api.github.com/users/AMeng/followers","following_url":"https://api.github.com/users/AMeng/following{/other_user}","gists_url":"https://api.github.com/users/AMeng/gists{/gist_id}","starred_url":"https://api.github.com/users/AMeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AMeng/subscriptions","organizations_url":"https://api.github.com/users/AMeng/orgs","repos_url":"https://api.github.com/users/AMeng/repos","events_url":"https://api.github.com/users/AMeng/events{/privacy}","received_events_url":"https://api.github.com/users/AMeng/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T23:36:51Z","updated_at":"2015-12-01T23:36:51Z","body":"@ajordens, doesn't Gate handle talking to Igor? It seems like users shouldn't be working directly with Igor's API. I guess it makes sense to version it either way. Gate's URLs are changing as well (https://github.com/spinnaker/gate/pull/161), so we'll need to address that issue. But yes, this is a breaking API change. If you'd like to version the API, how would you prefer to handle that? Maybe just prepend the new URLs with `/v2` or something? And should we also keep the old endpoints?\r\n"}}