{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/comments/54933396","id":54933396,"diff_hunk":"@@ -1,3 +1,15 @@\n <div>\n-    <p>Credentials used to check out sources during a build.</p>\n+    <p>\n+        Credentials used to check out sources during a build.\n+    </p>\n+    <p>\n+        The default choice of \"Same as scan credentials\" is sufficient so long as you don't\n+        need Jenkins to push some changes back into these repositories.\n+    </p>\n+    <p>\n+        Otherwise you should create an <strong>SSH username with private key</strong> credential and","path":"src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-checkoutCredentialsId.html","position":11,"original_position":11,"commit_id":"c9bdef5845eaa0aac6c5ec68e2271f7ccc69b11d","original_commit_id":"c9bdef5845eaa0aac6c5ec68e2271f7ccc69b11d","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},"body":"You could potentially push changes using your access token too. Just depends on what permissions you granted the token. Similarly, you might use HTTP(S) credentials normally for checkout, but using username/password, and want these to be distinct from the read-only access token used for scan credentials.\r\n\r\nI do not want to speculate on what all the reasons there might be for preferring distinct credentials. There may be site policies about use of certain kinds of authentication for accessing company source code, etc.","created_at":"2016-03-03T19:28:17Z","updated_at":"2016-03-03T19:28:17Z","html_url":"https://github.com/jenkinsci/github-branch-source-plugin/pull/18#discussion_r54933396","pull_request_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/comments/54933396"},"html":{"href":"https://github.com/jenkinsci/github-branch-source-plugin/pull/18#discussion_r54933396"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/18","id":61123020,"html_url":"https://github.com/jenkinsci/github-branch-source-plugin/pull/18","diff_url":"https://github.com/jenkinsci/github-branch-source-plugin/pull/18.diff","patch_url":"https://github.com/jenkinsci/github-branch-source-plugin/pull/18.patch","issue_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues/18","number":18,"state":"closed","locked":false,"title":"Doc improvement.","user":{"login":"kohsuke","id":50003,"avatar_url":"https://avatars.githubusercontent.com/u/50003?v=3","gravatar_id":"","url":"https://api.github.com/users/kohsuke","html_url":"https://github.com/kohsuke","followers_url":"https://api.github.com/users/kohsuke/followers","following_url":"https://api.github.com/users/kohsuke/following{/other_user}","gists_url":"https://api.github.com/users/kohsuke/gists{/gist_id}","starred_url":"https://api.github.com/users/kohsuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kohsuke/subscriptions","organizations_url":"https://api.github.com/users/kohsuke/orgs","repos_url":"https://api.github.com/users/kohsuke/repos","events_url":"https://api.github.com/users/kohsuke/events{/privacy}","received_events_url":"https://api.github.com/users/kohsuke/received_events","type":"User","site_admin":false},"body":"As a new user, it isn't clear what I'm supposed to specify here.\r\n\r\n@reviewbybees ","created_at":"2016-02-29T18:37:22Z","updated_at":"2016-03-03T19:28:17Z","closed_at":"2016-03-02T18:04:28Z","merged_at":"2016-03-02T18:04:28Z","merge_commit_sha":"687b2a2d327bb5006ffb5d1412f315fb636b27f3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/18/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/18/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues/18/comments","statuses_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/statuses/c9bdef5845eaa0aac6c5ec68e2271f7ccc69b11d","head":{"label":"jenkinsci:doc","ref":"doc","sha":"c9bdef5845eaa0aac6c5ec68e2271f7ccc69b11d","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":43903637,"name":"github-branch-source-plugin","full_name":"jenkinsci/github-branch-source-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/github-branch-source-plugin","description":"","fork":true,"url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin","forks_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/deployments","created_at":"2015-10-08T16:52:19Z","updated_at":"2016-02-20T09:31:03Z","pushed_at":"2016-03-03T19:12:22Z","git_url":"git://github.com/jenkinsci/github-branch-source-plugin.git","ssh_url":"git@github.com:jenkinsci/github-branch-source-plugin.git","clone_url":"https://github.com/jenkinsci/github-branch-source-plugin.git","svn_url":"https://github.com/jenkinsci/github-branch-source-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+GitHub+Branch+Source+Plugin","size":134,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"da2f762d365916bc5335d8798a3ec844c16ab348","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":43903637,"name":"github-branch-source-plugin","full_name":"jenkinsci/github-branch-source-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/github-branch-source-plugin","description":"","fork":true,"url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin","forks_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/deployments","created_at":"2015-10-08T16:52:19Z","updated_at":"2016-02-20T09:31:03Z","pushed_at":"2016-03-03T19:12:22Z","git_url":"git://github.com/jenkinsci/github-branch-source-plugin.git","ssh_url":"git@github.com:jenkinsci/github-branch-source-plugin.git","clone_url":"https://github.com/jenkinsci/github-branch-source-plugin.git","svn_url":"https://github.com/jenkinsci/github-branch-source-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+GitHub+Branch+Source+Plugin","size":134,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/18"},"html":{"href":"https://github.com/jenkinsci/github-branch-source-plugin/pull/18"},"issue":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues/18"},"comments":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/github-branch-source-plugin/statuses/c9bdef5845eaa0aac6c5ec68e2271f7ccc69b11d"}}}}