{"action":"created","issue":{"url":"https://api.github.com/repos/Shippable/support/issues/2671","repository_url":"https://api.github.com/repos/Shippable/support","labels_url":"https://api.github.com/repos/Shippable/support/issues/2671/labels{/name}","comments_url":"https://api.github.com/repos/Shippable/support/issues/2671/comments","events_url":"https://api.github.com/repos/Shippable/support/issues/2671/events","html_url":"https://github.com/Shippable/support/issues/2671","id":158094337,"number":2671,"title":"Documentation request: How to use private BitBucket repositories as dependency in ci builds","user":{"login":"Headd2k","id":2144150,"avatar_url":"https://avatars.githubusercontent.com/u/2144150?v=3","gravatar_id":"","url":"https://api.github.com/users/Headd2k","html_url":"https://github.com/Headd2k","followers_url":"https://api.github.com/users/Headd2k/followers","following_url":"https://api.github.com/users/Headd2k/following{/other_user}","gists_url":"https://api.github.com/users/Headd2k/gists{/gist_id}","starred_url":"https://api.github.com/users/Headd2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Headd2k/subscriptions","organizations_url":"https://api.github.com/users/Headd2k/orgs","repos_url":"https://api.github.com/users/Headd2k/repos","events_url":"https://api.github.com/users/Headd2k/events{/privacy}","received_events_url":"https://api.github.com/users/Headd2k/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Shippable/support/labels/cs","name":"cs","color":"d4c5f9"},{"url":"https://api.github.com/repos/Shippable/support/labels/need%20info%20from%20customer","name":"need info from customer","color":"006b75"},{"url":"https://api.github.com/repos/Shippable/support/labels/update%20content","name":"update content","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-02T09:16:55Z","updated_at":"2016-06-10T00:37:13Z","closed_at":null,"body":"Hi!\r\n\r\nI'm quite confused what has to be done to to give Shippable access to private BitBucket repositories when requesting access during composer install.\r\n\r\nScenario: Repository A is a private BitBucket repository. Repository B uses respository A as dependency defined via composer.yml. When executing \"composer install\" during a ci build of repository B , Shippable can't clone repository A because of missing username/password (or key).\r\n\r\nExample error message:\r\n\r\n[RuntimeException]                                                                                                                                                                                                                                                                                                                                                                        \r\n  Failed to execute git clone --no-checkout 'https://myorganisation@bitbucket.org/myorganisation/repositorya.git' '/root/src/bitbucket.org/myorganisation/abc/vendor/myorganisation/repositorya' && cd '/root/src/bitbucket.org/myorganisation/abc/vendor/myorganisation/repositorya' && git remote add composer 'https://myorganisation@bitbucket.org/myorganisation/repositorya.git' && git fetch composer  \r\n  Cloning into '/root/src/bitbucket.org/myorganisation/abc/vendor/myorganisation/repositorya'...                                                                                                                                                                                                                                                                                            \r\n  remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.                                                                                                                                                                                                                                   \r\n  fatal: Authentication failed for 'https://myorganisation@bitbucket.org/myorganisation/repositorya.git/'\r\n\r\nI actually have no clue how to provide username / password or keyfiles to this step. A documentation would be very helpful. Thanks in advance!\r\n\r\n- https://app.shippable.com/runs/574d4fac1e6d8e0c003c27bf"},"comment":{"url":"https://api.github.com/repos/Shippable/support/issues/comments/225066034","html_url":"https://github.com/Shippable/support/issues/2671#issuecomment-225066034","issue_url":"https://api.github.com/repos/Shippable/support/issues/2671","id":225066034,"user":{"login":"abhijitkini","id":14990231,"avatar_url":"https://avatars.githubusercontent.com/u/14990231?v=3","gravatar_id":"","url":"https://api.github.com/users/abhijitkini","html_url":"https://github.com/abhijitkini","followers_url":"https://api.github.com/users/abhijitkini/followers","following_url":"https://api.github.com/users/abhijitkini/following{/other_user}","gists_url":"https://api.github.com/users/abhijitkini/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijitkini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijitkini/subscriptions","organizations_url":"https://api.github.com/users/abhijitkini/orgs","repos_url":"https://api.github.com/users/abhijitkini/repos","events_url":"https://api.github.com/users/abhijitkini/events{/privacy}","received_events_url":"https://api.github.com/users/abhijitkini/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T00:37:13Z","updated_at":"2016-06-10T00:37:13Z","body":"@Headd2k following up to see if the above recommendation resolved your issue."}}
{"actor":{"display_login":"abhijitkini"}}