Unity Cloud Build supports projects stored in Mercurial repositories. Your can host your repository on Bitbucket or on a private server.
To connect to your repository, Unity Cloud Build requires that you supply appropriate access credentials. This applies to Mercurial repositories hosted on Bitbucket or elsewhere.
To connect to your repository, you must specify the URL to your Mercurial server. You can specify the URL to use the following protocols:
HTTPS
SSH
The following are examples of URLs for bitbucket:
https://github.com/youraccount/yourrepo
git@bitbucket.org:youraccount/yourrepo.git
Use the format that is most convenient for you. Unity Cloud Build automatically re-writes the URL into the format it needs.
On your Mercurial server, create a user name for Unity Cloud Build and assign a secure password. If your Mercurial host supports it, make this a read-only user account.
On the Grant us access to your source control window, enter your user name and password, and then click Next: Target Setup.
In the Target Setup window, select a build platform.
On the Developer Dashboard, on the NEW BUILD TARGET: BASIC INFO window:
In the Target Label field, enter a name for the build.
If the root folder of your repository doesn’t contain your Assets and Project settings, in the Project Subfolder field, enter the URL of the folder that contains your Assets and Project Settings.
From the Unity Version drop-down menu, select the version of Unity with which to build the Project.
If you do not want the Project to automatically build whenever your repository is updated, click the Auto-build toggle to disable this feature.
If you are building for the iOS or Android platforms, your next step is to enter credentials for the build. Click Next: Credentials. For all other platforms, click Next: Build to complete the configuration and start the initial build.
On the IOS SIGNING CREDS window supply the following information:
A Bundle ID to uniquely identify your app on the device and in Google Play Store.
Enter your Android keystore credentials or select Auto Generated Debug Keystore to use a development keystore. For more information on Android keystores, see Android Keystore System.
On the IOS SIGNING CREDS window supply the following information:
A Bundle ID to uniquely identify your app on the device.
The Xcode version with which to build the app.
Enter your IOS credentials. For more information on iOS credentials, see Building for iOS.
2018–04–10 Page published with editorial review