Last Updated: February 25, 2016
· ericrallen

Using non-GitHub Repos with PhoneGap Build

PhoneGap Build already has integration with GitHub, but we host our private work repos on BeanStalk, so that does not help very much.

After some brief searching and contacting BeanStalk support, I figured out how to add my repo to PhoneGap Build.

The basic url structure is this: https://[username]:[password]@[host].[com|org|net|etc]/[reponame].git

Note: Make sure you url encode your password if it uses special characters, and also make sure you don't share this URL with anyone who you wouldn't want to know your password.

Note: Any PhoneGap Build collaborators will be able to see the URL with your password plainly visible.

Here are some exampes:

  • BeanStalk: https://[username]:[password]@[account][reponame].git
  • Bitbucket: https://[username]:[password][reponame].git
  1. [username] is your username for that host
  2. [password] is your password for that host
  3. [reponame] is the name of your git repository
  4. [account] is your BeanStalk account name:https://[account]

More info: PhoneGap Build and BeanStalk git Repositories

Inspired by: Using Private Bitbucket Repositories With PhoneGap Build

1 Response
Add your response

I can't seem to get this to work, can you test if you can still use this method?
Twitter @jgm_io

over 1 year ago ·