{"action":"created","comment":{"url":"https://api.github.com/repos/jimmidyson/origin/pulls/comments/57931446","id":57931446,"diff_hunk":"@@ -17,6 +17,15 @@ func addDefaultingFuncs(scheme *runtime.Scheme) {\n \t\t\tif len(obj.APILevels) == 0 {\n \t\t\t\tobj.APILevels = internal.DefaultOpenShiftAPILevels\n \t\t\t}\n+\t\t\tif len(obj.JenkinsPipelineConfig.Namespace) == 0 {\n+\t\t\t\tobj.JenkinsPipelineConfig.Namespace = \"openshift\"\n+\t\t\t}\n+\t\t\tif len(obj.JenkinsPipelineConfig.TemplateName) == 0 {\n+\t\t\t\tobj.JenkinsPipelineConfig.TemplateName = \"jenkins\"\n+\t\t\t}\n+\t\t\tif len(obj.JenkinsPipelineConfig.ServiceName) == 0 {\n+\t\t\t\tobj.JenkinsPipelineConfig.ServiceName = \"jenkins-ci\"","path":"pkg/cmd/server/api/v1/conversions.go","position":11,"original_position":11,"commit_id":"3ed08d495dd391ab47317d2946c2695da23b317b","original_commit_id":"3ed08d495dd391ab47317d2946c2695da23b317b","user":{"login":"bparees","id":4974046,"avatar_url":"https://avatars.githubusercontent.com/u/4974046?v=3","gravatar_id":"","url":"https://api.github.com/users/bparees","html_url":"https://github.com/bparees","followers_url":"https://api.github.com/users/bparees/followers","following_url":"https://api.github.com/users/bparees/following{/other_user}","gists_url":"https://api.github.com/users/bparees/gists{/gist_id}","starred_url":"https://api.github.com/users/bparees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bparees/subscriptions","organizations_url":"https://api.github.com/users/bparees/orgs","repos_url":"https://api.github.com/users/bparees/repos","events_url":"https://api.github.com/users/bparees/events{/privacy}","received_events_url":"https://api.github.com/users/bparees/received_events","type":"User","site_admin":false},"body":"probably the same for the template name\r\n","created_at":"2016-03-30T17:43:53Z","updated_at":"2016-03-30T17:43:53Z","html_url":"https://github.com/jimmidyson/origin/pull/2#discussion_r57931446","pull_request_url":"https://api.github.com/repos/jimmidyson/origin/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/jimmidyson/origin/pulls/comments/57931446"},"html":{"href":"https://github.com/jimmidyson/origin/pull/2#discussion_r57931446"},"pull_request":{"href":"https://api.github.com/repos/jimmidyson/origin/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/jimmidyson/origin/pulls/2","id":64034996,"html_url":"https://github.com/jimmidyson/origin/pull/2","diff_url":"https://github.com/jimmidyson/origin/pull/2.diff","patch_url":"https://github.com/jimmidyson/origin/pull/2.patch","issue_url":"https://api.github.com/repos/jimmidyson/origin/issues/2","number":2,"state":"open","locked":false,"title":"Instantiate the Jenkins template when JenkinsPipelineStrategy is created","user":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-24T13:41:44Z","updated_at":"2016-03-30T17:43:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67a223cb0fef1bddbbad1692cd82309f4e4a7925","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jimmidyson/origin/pulls/2/commits","review_comments_url":"https://api.github.com/repos/jimmidyson/origin/pulls/2/comments","review_comment_url":"https://api.github.com/repos/jimmidyson/origin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jimmidyson/origin/issues/2/comments","statuses_url":"https://api.github.com/repos/jimmidyson/origin/statuses/3ed08d495dd391ab47317d2946c2695da23b317b","head":{"label":"mfojtik:jenkins-pipeline","ref":"jenkins-pipeline","sha":"3ed08d495dd391ab47317d2946c2695da23b317b","user":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"repo":{"id":22954249,"name":"origin","full_name":"mfojtik/origin","owner":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mfojtik/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":true,"url":"https://api.github.com/repos/mfojtik/origin","forks_url":"https://api.github.com/repos/mfojtik/origin/forks","keys_url":"https://api.github.com/repos/mfojtik/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mfojtik/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mfojtik/origin/teams","hooks_url":"https://api.github.com/repos/mfojtik/origin/hooks","issue_events_url":"https://api.github.com/repos/mfojtik/origin/issues/events{/number}","events_url":"https://api.github.com/repos/mfojtik/origin/events","assignees_url":"https://api.github.com/repos/mfojtik/origin/assignees{/user}","branches_url":"https://api.github.com/repos/mfojtik/origin/branches{/branch}","tags_url":"https://api.github.com/repos/mfojtik/origin/tags","blobs_url":"https://api.github.com/repos/mfojtik/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mfojtik/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mfojtik/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/mfojtik/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mfojtik/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/mfojtik/origin/languages","stargazers_url":"https://api.github.com/repos/mfojtik/origin/stargazers","contributors_url":"https://api.github.com/repos/mfojtik/origin/contributors","subscribers_url":"https://api.github.com/repos/mfojtik/origin/subscribers","subscription_url":"https://api.github.com/repos/mfojtik/origin/subscription","commits_url":"https://api.github.com/repos/mfojtik/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/mfojtik/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/mfojtik/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/mfojtik/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/mfojtik/origin/contents/{+path}","compare_url":"https://api.github.com/repos/mfojtik/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mfojtik/origin/merges","archive_url":"https://api.github.com/repos/mfojtik/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mfojtik/origin/downloads","issues_url":"https://api.github.com/repos/mfojtik/origin/issues{/number}","pulls_url":"https://api.github.com/repos/mfojtik/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/mfojtik/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/mfojtik/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mfojtik/origin/labels{/name}","releases_url":"https://api.github.com/repos/mfojtik/origin/releases{/id}","deployments_url":"https://api.github.com/repos/mfojtik/origin/deployments","created_at":"2014-08-14T13:11:47Z","updated_at":"2016-01-12T09:38:06Z","pushed_at":"2016-03-30T17:34:56Z","git_url":"git://github.com/mfojtik/origin.git","ssh_url":"git@github.com:mfojtik/origin.git","clone_url":"https://github.com/mfojtik/origin.git","svn_url":"https://github.com/mfojtik/origin","homepage":"https://openshift.github.io","size":233360,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jimmidyson:ci-build-strategy","ref":"ci-build-strategy","sha":"4fc893d9e1e864b44b80c14b26e92df7bf18880b","user":{"login":"jimmidyson","id":464659,"avatar_url":"https://avatars.githubusercontent.com/u/464659?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmidyson","html_url":"https://github.com/jimmidyson","followers_url":"https://api.github.com/users/jimmidyson/followers","following_url":"https://api.github.com/users/jimmidyson/following{/other_user}","gists_url":"https://api.github.com/users/jimmidyson/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmidyson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmidyson/subscriptions","organizations_url":"https://api.github.com/users/jimmidyson/orgs","repos_url":"https://api.github.com/users/jimmidyson/repos","events_url":"https://api.github.com/users/jimmidyson/events{/privacy}","received_events_url":"https://api.github.com/users/jimmidyson/received_events","type":"User","site_admin":false},"repo":{"id":24896481,"name":"origin","full_name":"jimmidyson/origin","owner":{"login":"jimmidyson","id":464659,"avatar_url":"https://avatars.githubusercontent.com/u/464659?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmidyson","html_url":"https://github.com/jimmidyson","followers_url":"https://api.github.com/users/jimmidyson/followers","following_url":"https://api.github.com/users/jimmidyson/following{/other_user}","gists_url":"https://api.github.com/users/jimmidyson/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmidyson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmidyson/subscriptions","organizations_url":"https://api.github.com/users/jimmidyson/orgs","repos_url":"https://api.github.com/users/jimmidyson/repos","events_url":"https://api.github.com/users/jimmidyson/events{/privacy}","received_events_url":"https://api.github.com/users/jimmidyson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jimmidyson/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":true,"url":"https://api.github.com/repos/jimmidyson/origin","forks_url":"https://api.github.com/repos/jimmidyson/origin/forks","keys_url":"https://api.github.com/repos/jimmidyson/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jimmidyson/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jimmidyson/origin/teams","hooks_url":"https://api.github.com/repos/jimmidyson/origin/hooks","issue_events_url":"https://api.github.com/repos/jimmidyson/origin/issues/events{/number}","events_url":"https://api.github.com/repos/jimmidyson/origin/events","assignees_url":"https://api.github.com/repos/jimmidyson/origin/assignees{/user}","branches_url":"https://api.github.com/repos/jimmidyson/origin/branches{/branch}","tags_url":"https://api.github.com/repos/jimmidyson/origin/tags","blobs_url":"https://api.github.com/repos/jimmidyson/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jimmidyson/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jimmidyson/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jimmidyson/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jimmidyson/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/jimmidyson/origin/languages","stargazers_url":"https://api.github.com/repos/jimmidyson/origin/stargazers","contributors_url":"https://api.github.com/repos/jimmidyson/origin/contributors","subscribers_url":"https://api.github.com/repos/jimmidyson/origin/subscribers","subscription_url":"https://api.github.com/repos/jimmidyson/origin/subscription","commits_url":"https://api.github.com/repos/jimmidyson/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jimmidyson/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jimmidyson/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jimmidyson/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jimmidyson/origin/contents/{+path}","compare_url":"https://api.github.com/repos/jimmidyson/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jimmidyson/origin/merges","archive_url":"https://api.github.com/repos/jimmidyson/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jimmidyson/origin/downloads","issues_url":"https://api.github.com/repos/jimmidyson/origin/issues{/number}","pulls_url":"https://api.github.com/repos/jimmidyson/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/jimmidyson/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/jimmidyson/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jimmidyson/origin/labels{/name}","releases_url":"https://api.github.com/repos/jimmidyson/origin/releases{/id}","deployments_url":"https://api.github.com/repos/jimmidyson/origin/deployments","created_at":"2014-10-07T15:17:49Z","updated_at":"2014-11-30T12:24:51Z","pushed_at":"2016-03-30T17:35:00Z","git_url":"git://github.com/jimmidyson/origin.git","ssh_url":"git@github.com:jimmidyson/origin.git","clone_url":"https://github.com/jimmidyson/origin.git","svn_url":"https://github.com/jimmidyson/origin","homepage":"https://openshift.github.io","size":298324,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jimmidyson/origin/pulls/2"},"html":{"href":"https://github.com/jimmidyson/origin/pull/2"},"issue":{"href":"https://api.github.com/repos/jimmidyson/origin/issues/2"},"comments":{"href":"https://api.github.com/repos/jimmidyson/origin/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/jimmidyson/origin/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/jimmidyson/origin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jimmidyson/origin/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/jimmidyson/origin/statuses/3ed08d495dd391ab47317d2946c2695da23b317b"}}}}