{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/git-plugin/issues/342","labels_url":"https://api.github.com/repos/jenkinsci/git-plugin/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/git-plugin/issues/342/comments","events_url":"https://api.github.com/repos/jenkinsci/git-plugin/issues/342/events","html_url":"https://github.com/jenkinsci/git-plugin/pull/342","id":98858711,"number":342,"title":"add Credentials extensions for adding credentials for alternate URLs","user":{"login":"jacob-keller","id":874719,"avatar_url":"https://avatars.githubusercontent.com/u/874719?v=3","gravatar_id":"","url":"https://api.github.com/users/jacob-keller","html_url":"https://github.com/jacob-keller","followers_url":"https://api.github.com/users/jacob-keller/followers","following_url":"https://api.github.com/users/jacob-keller/following{/other_user}","gists_url":"https://api.github.com/users/jacob-keller/gists{/gist_id}","starred_url":"https://api.github.com/users/jacob-keller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacob-keller/subscriptions","organizations_url":"https://api.github.com/users/jacob-keller/orgs","repos_url":"https://api.github.com/users/jacob-keller/repos","events_url":"https://api.github.com/users/jacob-keller/events{/privacy}","received_events_url":"https://api.github.com/users/jacob-keller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"MarkEWaite","id":156685,"avatar_url":"https://avatars.githubusercontent.com/u/156685?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkEWaite","html_url":"https://github.com/MarkEWaite","followers_url":"https://api.github.com/users/MarkEWaite/followers","following_url":"https://api.github.com/users/MarkEWaite/following{/other_user}","gists_url":"https://api.github.com/users/MarkEWaite/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkEWaite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkEWaite/subscriptions","organizations_url":"https://api.github.com/users/MarkEWaite/orgs","repos_url":"https://api.github.com/users/MarkEWaite/repos","events_url":"https://api.github.com/users/MarkEWaite/events{/privacy}","received_events_url":"https://api.github.com/users/MarkEWaite/received_events","type":"User","site_admin":false},"milestone":null,"comments":24,"created_at":"2015-08-03T23:43:38Z","updated_at":"2015-09-01T07:40:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/342","html_url":"https://github.com/jenkinsci/git-plugin/pull/342","diff_url":"https://github.com/jenkinsci/git-plugin/pull/342.diff","patch_url":"https://github.com/jenkinsci/git-plugin/pull/342.patch"},"body":"For giving specific URLs for each submodule URL, and for giving a method\r\nto add the default credentials. These extensions are intended for adding\r\nsupport for passing credentials that work for the submodules. Change to\r\nthe git-client-plugin will also be required to actually use these\r\ncredentials for submodules.\r\n\r\nNote, these changes are not very useful unless you also include an updated version of git-client-plugin which is able to pass credentials to submodules. I have submitted a pull request for the git-client-plugin as well.\r\n\r\nI don't (yet) have tests for this, but I am currently working on that. In addition, I did manual testing with my setup to verify that credential passing worked. I'm hoping to add test case for this so that we can have it going forward.\r\n\r\nSigned-off-by: Jacob Keller <jacob.e.keller@intel.com>"},"comment":{"url":"https://api.github.com/repos/jenkinsci/git-plugin/issues/comments/136616328","html_url":"https://github.com/jenkinsci/git-plugin/pull/342#issuecomment-136616328","issue_url":"https://api.github.com/repos/jenkinsci/git-plugin/issues/342","id":136616328,"user":{"login":"jacob-keller","id":874719,"avatar_url":"https://avatars.githubusercontent.com/u/874719?v=3","gravatar_id":"","url":"https://api.github.com/users/jacob-keller","html_url":"https://github.com/jacob-keller","followers_url":"https://api.github.com/users/jacob-keller/followers","following_url":"https://api.github.com/users/jacob-keller/following{/other_user}","gists_url":"https://api.github.com/users/jacob-keller/gists{/gist_id}","starred_url":"https://api.github.com/users/jacob-keller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacob-keller/subscriptions","organizations_url":"https://api.github.com/users/jacob-keller/orgs","repos_url":"https://api.github.com/users/jacob-keller/repos","events_url":"https://api.github.com/users/jacob-keller/events{/privacy}","received_events_url":"https://api.github.com/users/jacob-keller/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T07:40:05Z","updated_at":"2015-09-01T07:40:05Z","body":"Thanks I think I know why. I am not sure that http is being set right for\nsubmodule operation only\n\nWill investigate tomorrow.\n\nRegards\nJake\nOn Sep 1, 2015 12:24 AM, \"rohel01\" <notifications@github.com> wrote:\n\n> I use git 2.5.0 on the slave performing the job.\n>\n> Initial cloning works for the main repository, http://\n> ****/stash/scm/test_r/test_repo.git in the example.\n> Other repositories without submodules are also cloned successfully by\n> Jenkins using HTTP based authentification (user/password).\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/jenkinsci/git-plugin/pull/342#issuecomment-136612189>.\n>\n"}}