Using Apache Subversion (SVN) with Unity Cloud Build
Using the Unity Editor to configure Unity Cloud Build for Perforce
Using the Unity Developer Dashboard to configure Unity Cloud Build for Perforce
Unity Cloud Build supports Projects stored in Perforce repositories.
Note: This feature requires a subscription to Unity Teams Advanced. For more information, see the Unity Teams page.
This topic covers:
Configuring Perforce on the Dashboard
To configure Cloud Build to build your Project from a Perforce repository:
Sign in to the Unity Developer Dashboard.
On the Projects page, select your Project.
In the dashboard Overview window, on the Cloud Build tile, click OPEN CLOUD BUILD DASHBOARD.
In the Build History window, click Set up Cloud Build.
In the Source Control window, click the MANUAL tab.
-
In the SCM URL field, enter the URL of your Perforce server in either of the following formats:
- Non-SSL: host:port
- SSL: ssl:host:port
To connect to your repository, you must specify the URL to your Perforce server. For information on the format of the URL, see the URL syntax section below.
From the SCM Types drop-down menu, select Perforce.
Click the NEXT: ACCESS button. When Unity Cloud Build connects to the hosting site, it automatically detects whether your repository is public or private. If your repository is public, Cloud Build automatically connects to it and you can skip to Setting up a target build platform.
On the the Grant us access to your source control window, enter the user Username and Password for your Perforce repository.
Click NEXT: TARGET SETUP.
URL syntax
To connect to your repository, you must specify the URL to your Perforce server. You can specify the URL to use the following protocols:
The following are examples of valid URLs:
- https://127.0.0.1:1667
- ssl:127.0.0.1:167
Setting up a target build platform
In the dashboard, on the NEW BUILD TARGET: BASIC INFO window:
- In the Target Label field, enter a name for the build.
- From the Client Workspace drop-down menu, select the workspace from which to build your Project.
- 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.
Android credentials
In the Android 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.
iOS Credentials
In 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.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Is something described here not working as you expect it to? It might be a Known Issue. Please check with the Issue Tracker at issuetracker.unity3d.com.
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thanks for helping to make the Unity documentation better!
Using Apache Subversion (SVN) with Unity Cloud Build
Using the Unity Editor to configure Unity Cloud Build for Perforce