{"action":"created","issue":{"url":"https://api.github.com/repos/fabric8io/jenkins-sync-plugin/issues/27","repository_url":"https://api.github.com/repos/fabric8io/jenkins-sync-plugin","labels_url":"https://api.github.com/repos/fabric8io/jenkins-sync-plugin/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/fabric8io/jenkins-sync-plugin/issues/27/comments","events_url":"https://api.github.com/repos/fabric8io/jenkins-sync-plugin/issues/27/events","html_url":"https://github.com/fabric8io/jenkins-sync-plugin/issues/27","id":321133969,"number":27,"title":"Jenkins sync plugin creating two pipelines out of which one is incorrect","user":{"login":"piyush1594","id":19270240,"avatar_url":"https://avatars1.githubusercontent.com/u/19270240?v=4","gravatar_id":"","url":"https://api.github.com/users/piyush1594","html_url":"https://github.com/piyush1594","followers_url":"https://api.github.com/users/piyush1594/followers","following_url":"https://api.github.com/users/piyush1594/following{/other_user}","gists_url":"https://api.github.com/users/piyush1594/gists{/gist_id}","starred_url":"https://api.github.com/users/piyush1594/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piyush1594/subscriptions","organizations_url":"https://api.github.com/users/piyush1594/orgs","repos_url":"https://api.github.com/users/piyush1594/repos","events_url":"https://api.github.com/users/piyush1594/events{/privacy}","received_events_url":"https://api.github.com/users/piyush1594/received_events","type":"User","site_admin":false},"labels":[{"id":554433110,"url":"https://api.github.com/repos/fabric8io/jenkins-sync-plugin/labels/bug","name":"bug","color":"ee0701","default":true},{"id":554433112,"url":"https://api.github.com/repos/fabric8io/jenkins-sync-plugin/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"piyush1594","id":19270240,"avatar_url":"https://avatars1.githubusercontent.com/u/19270240?v=4","gravatar_id":"","url":"https://api.github.com/users/piyush1594","html_url":"https://github.com/piyush1594","followers_url":"https://api.github.com/users/piyush1594/followers","following_url":"https://api.github.com/users/piyush1594/following{/other_user}","gists_url":"https://api.github.com/users/piyush1594/gists{/gist_id}","starred_url":"https://api.github.com/users/piyush1594/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piyush1594/subscriptions","organizations_url":"https://api.github.com/users/piyush1594/orgs","repos_url":"https://api.github.com/users/piyush1594/repos","events_url":"https://api.github.com/users/piyush1594/events{/privacy}","received_events_url":"https://api.github.com/users/piyush1594/received_events","type":"User","site_admin":false},"assignees":[{"login":"piyush1594","id":19270240,"avatar_url":"https://avatars1.githubusercontent.com/u/19270240?v=4","gravatar_id":"","url":"https://api.github.com/users/piyush1594","html_url":"https://github.com/piyush1594","followers_url":"https://api.github.com/users/piyush1594/followers","following_url":"https://api.github.com/users/piyush1594/following{/other_user}","gists_url":"https://api.github.com/users/piyush1594/gists{/gist_id}","starred_url":"https://api.github.com/users/piyush1594/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piyush1594/subscriptions","organizations_url":"https://api.github.com/users/piyush1594/orgs","repos_url":"https://api.github.com/users/piyush1594/repos","events_url":"https://api.github.com/users/piyush1594/events{/privacy}","received_events_url":"https://api.github.com/users/piyush1594/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-05-08T10:42:35Z","updated_at":"2018-05-09T14:05:16Z","closed_at":null,"author_association":"NONE","body":"Right now, Jenkins sync plugin is creating two pipelines when we create a git repo by `repo name` and create a build config with strategy Jenkins and name `app name` and source pointing to the repo created with `repo name`. This will work fine if `app name` and `repo name` are same. But if `app name` and `repo name` have different value then two pipelines get generated.\r\n\r\nMaybe I am not clear in expressing the issue correctly. Feel free to correct me. The related issue on openshift.io is https://github.com/openshiftio/openshift.io/issues/3095\r\n\r\nIt may be possible that Jenkins sync plugin is not doing that but the initial observation seems like it is happening here.\r\n\r\ncc @hrishin @rupalibehera @gabemontero"},"comment":{"url":"https://api.github.com/repos/fabric8io/jenkins-sync-plugin/issues/comments/387749988","html_url":"https://github.com/fabric8io/jenkins-sync-plugin/issues/27#issuecomment-387749988","issue_url":"https://api.github.com/repos/fabric8io/jenkins-sync-plugin/issues/27","id":387749988,"user":{"login":"piyush1594","id":19270240,"avatar_url":"https://avatars1.githubusercontent.com/u/19270240?v=4","gravatar_id":"","url":"https://api.github.com/users/piyush1594","html_url":"https://github.com/piyush1594","followers_url":"https://api.github.com/users/piyush1594/followers","following_url":"https://api.github.com/users/piyush1594/following{/other_user}","gists_url":"https://api.github.com/users/piyush1594/gists{/gist_id}","starred_url":"https://api.github.com/users/piyush1594/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piyush1594/subscriptions","organizations_url":"https://api.github.com/users/piyush1594/orgs","repos_url":"https://api.github.com/users/piyush1594/repos","events_url":"https://api.github.com/users/piyush1594/events{/privacy}","received_events_url":"https://api.github.com/users/piyush1594/received_events","type":"User","site_admin":false},"created_at":"2018-05-09T14:05:16Z","updated_at":"2018-05-09T14:05:16Z","author_association":"NONE","body":"According to the info I have received, I have not reproduced that, if you create the repo in different org than your GitHub username, and you keep the build config name and repo name same then also it generates two pipelines."}}
{"actor":{"display_login":"piyush1594"}}