Using the Unity Developer Dashboard to configure Cloud Build for Perforce
Using the Unity Developer Dashboard to configure Unity Cloud Build for Plastic
Unity Cloud BuildA continuous integration service for Unity projects that automates the process of creating builds on Unity’s servers. More info
See in Glossary supports projects stored in Plastic SCM repositories.
Note: This feature requires a subscription to Unity Teams Advanced.
This topic covers:
- Configuring Plastic in the Dashboard
- Setting up a target build platform
Configuring Plastic on the Dashboard
To configure Cloud Build to build your project from a Plastic 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.
- To connect to your repository, you must specify the URL to your Plastic server. In the SCM URL field, enter the URL of your Plastic server in either of the following formats:
- Host:port (If you host your own Plastic server)
- host@cloud (If you use Plastic Cloud Hosting)
- In the SCM Types drop-down menu, select Plastic SCM.
- Click Next: Access. When 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 Grant us access to your source control window:
- Enter the Username and Password for your Plastic SCM server.
- Select an Authentication Type from the dropdown.
- Select Next: Target Setup.
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 Repo drop-down menu, select the repository from which to build your project.
- From the Branch drop-down menu, select the branch from which to build your project.
- If the root folder of your repository doesn’t contain your assets and project settingsA broad collection of settings which allow you to configure how Physics, Audio, Networking, Graphics, Input and many other areas of your project behave. More info
See in Glossary, 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. To have Cloud Build automatically detect your project’s most recent Unity version, enable Auto Detect Version. This requires your
ProjectSettings/ProjectVersion.txt
file to be checked into source control.
- If you do not want the project to automatically build whenever your repository is updated, disable the Auto-build toggle.
- If you are building for the iOSApple’s mobile operating system. More info
See in Glossary or Android platforms:
- Click Next: Credentials.
- Enter the credentials and click Next: Build.
- For all other platforms, click Next: Build to complete the configuration and start the initial build.
Using the Unity Developer Dashboard to configure Cloud Build for Perforce