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:
To configure Cloud Build to build your Project from a Perforce repository:
Sign in to the Unity Developer Dashboard.
On the ProjectsIn Unity, you use a Project to design and develop a game. A Project stores all of the files that are related to a game, such as the Asset and Scene files. More info
See in Glossary page, select your Project.
In the dashboard Overview window, on the Cloud BuildA continuous integration service for Unity Projects that automates the process of creating builds on Unity’s servers. More info
See in Glossary 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:
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 PerforceA version control system for file change management. More info
See in Glossary.
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:
In the dashboard, on the NEW BUILD TARGET: BASIC INFO window:
Android credentials
In the Android SIGNING CREDS window supply the following information:
iOS Credentials
In the iOS SIGNING CREDS window supply the following information: