{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/pulls/9","id":28647992,"html_url":"https://github.com/jenkinsci/publish-over-ssh-plugin/pull/9","diff_url":"https://github.com/jenkinsci/publish-over-ssh-plugin/pull/9.diff","patch_url":"https://github.com/jenkinsci/publish-over-ssh-plugin/pull/9.patch","issue_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/issues/9","number":9,"state":"open","locked":false,"title":"Inject ssh credentials","user":{"login":"jeffastorey","id":1882220,"avatar_url":"https://avatars.githubusercontent.com/u/1882220?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffastorey","html_url":"https://github.com/jeffastorey","followers_url":"https://api.github.com/users/jeffastorey/followers","following_url":"https://api.github.com/users/jeffastorey/following{/other_user}","gists_url":"https://api.github.com/users/jeffastorey/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffastorey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffastorey/subscriptions","organizations_url":"https://api.github.com/users/jeffastorey/orgs","repos_url":"https://api.github.com/users/jeffastorey/repos","events_url":"https://api.github.com/users/jeffastorey/events{/privacy}","received_events_url":"https://api.github.com/users/jeffastorey/received_events","type":"User","site_admin":false},"body":"This pull request adds a checkbox called \"Inject credentials\" that allows you to specify an environment variable in the ssh username and password fields rather than the actual username password. The credentials can then be injected through the parameterized build plugin. This provides a way of not caching credentials in Jenkins and requires explicit username/password for SSH operations on specific servers if desired.\r\n\r\nI didn't see a specific JIRA request for this, but the idea of injecting values in this plugin was mentioned in a few different issues. This was something I have been working on internally and wanted to open source it.","created_at":"2015-02-04T15:42:12Z","updated_at":"2015-02-04T15:42:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad262199d83afb27eb5b614ad57f3c2b5ca482b2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/pulls/9/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/pulls/9/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/issues/9/comments","statuses_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/statuses/df16846bdd059f5df49139ca173bfecd7435f261","head":{"label":"jeffastorey:inject-ssh-credentials","ref":"inject-ssh-credentials","sha":"df16846bdd059f5df49139ca173bfecd7435f261","user":{"login":"jeffastorey","id":1882220,"avatar_url":"https://avatars.githubusercontent.com/u/1882220?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffastorey","html_url":"https://github.com/jeffastorey","followers_url":"https://api.github.com/users/jeffastorey/followers","following_url":"https://api.github.com/users/jeffastorey/following{/other_user}","gists_url":"https://api.github.com/users/jeffastorey/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffastorey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffastorey/subscriptions","organizations_url":"https://api.github.com/users/jeffastorey/orgs","repos_url":"https://api.github.com/users/jeffastorey/repos","events_url":"https://api.github.com/users/jeffastorey/events{/privacy}","received_events_url":"https://api.github.com/users/jeffastorey/received_events","type":"User","site_admin":false},"repo":{"id":30273162,"name":"publish-over-ssh-plugin","full_name":"jeffastorey/publish-over-ssh-plugin","owner":{"login":"jeffastorey","id":1882220,"avatar_url":"https://avatars.githubusercontent.com/u/1882220?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffastorey","html_url":"https://github.com/jeffastorey","followers_url":"https://api.github.com/users/jeffastorey/followers","following_url":"https://api.github.com/users/jeffastorey/following{/other_user}","gists_url":"https://api.github.com/users/jeffastorey/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffastorey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffastorey/subscriptions","organizations_url":"https://api.github.com/users/jeffastorey/orgs","repos_url":"https://api.github.com/users/jeffastorey/repos","events_url":"https://api.github.com/users/jeffastorey/events{/privacy}","received_events_url":"https://api.github.com/users/jeffastorey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeffastorey/publish-over-ssh-plugin","description":"","fork":true,"url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin","forks_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/forks","keys_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/teams","hooks_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/hooks","issue_events_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/events","assignees_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/tags","blobs_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/languages","stargazers_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/stargazers","contributors_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/contributors","subscribers_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/subscribers","subscription_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/subscription","commits_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/issues/comments/{number}","contents_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/merges","archive_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/downloads","issues_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jeffastorey/publish-over-ssh-plugin/releases{/id}","created_at":"2015-02-04T00:49:02Z","updated_at":"2015-02-04T00:49:02Z","pushed_at":"2015-02-04T15:39:14Z","git_url":"git://github.com/jeffastorey/publish-over-ssh-plugin.git","ssh_url":"git@github.com:jeffastorey/publish-over-ssh-plugin.git","clone_url":"https://github.com/jeffastorey/publish-over-ssh-plugin.git","svn_url":"https://github.com/jeffastorey/publish-over-ssh-plugin","homepage":"","size":1217,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"16eae617c3c7707c459f62be2a1a06ef60742a81","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":1330817,"name":"publish-over-ssh-plugin","full_name":"jenkinsci/publish-over-ssh-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/publish-over-ssh-plugin","description":"","fork":true,"url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin","forks_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/issues/comments/{number}","contents_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/releases{/id}","created_at":"2011-02-05T06:56:59Z","updated_at":"2014-11-10T13:26:32Z","pushed_at":"2014-10-16T15:15:33Z","git_url":"git://github.com/jenkinsci/publish-over-ssh-plugin.git","ssh_url":"git@github.com:jenkinsci/publish-over-ssh-plugin.git","clone_url":"https://github.com/jenkinsci/publish-over-ssh-plugin.git","svn_url":"https://github.com/jenkinsci/publish-over-ssh-plugin","homepage":"","size":1217,"stargazers_count":25,"watchers_count":25,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":4,"forks":31,"open_issues":4,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/pulls/9"},"html":{"href":"https://github.com/jenkinsci/publish-over-ssh-plugin/pull/9"},"issue":{"href":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/issues/9"},"comments":{"href":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/publish-over-ssh-plugin/statuses/df16846bdd059f5df49139ca173bfecd7435f261"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":107,"deletions":26,"changed_files":8}}