In the dashboard, on the NEW BUILD TARGET: BASIC INFO window: On the Grant us access to your source control window, click Next: Target Setup. Paste the Unity Cloud Build SSH key from the Grant us access to your source control window into the Key field. In the Label field, enter a recognizable name for the key (such as Unity Cloud Build See Cloud Build More info On the Settings page, in the SECURITY section, click SSH Keys. See in Glossary in the lower left of the page. To add your SSH key to your Bitbucket account:Ĭlick your avatar An interface for retargeting animation from one rig to another. For more information, see Adding a new SSH key to your GitHub account in the GitHub documentation. You can also add your SSH key to your GitHub account so that all repositories in your account are accessible to Cloud Build. See in Glossary field, paste in your public key from the Grant us access to your source control window, and then click the Add key button.įor more information on deploy keys, see Managing Deploy Keys in the GitHub documentation. In the Key Can refer to an Input Key or an Animation Key In the Title textbox, type name to identify this key. In the sidebar, click Deploy Keys, then click the Add deploy key button. In your repository, click the Settings tab. On your profile page, click Repositories, then click the name of your repository. In the upper-right corner of any GitHub page, click your profile photo, then click Your profile. To add your SSH key to your project in GitHub When Cloud Build detects that the repository is private, it displays the Grant us access to your source control screen. If your repository is private, Cloud Build must use SSH to connect to it. Unity Cloud Build automatically re-writes the URL into the format it needs. Use the format that is most convenient for you. If you are hosting Git on a private server, you must use SSH to connect to your repository.The following are examples of URLs for GitHub, bitbucket, and GitLab: You can specify the URL to use the following protocols: To connect to your repository, you must specify the URL to your Git server. If your repository is public, Cloud Build automatically connects to it and you can skip to Setting up a target build platform. When Unity Cloud Build connects to the hosting site, it automatically detects whether your repository is public or private. If your repository is private, see the Using private repositoriessection. For information on the format of the URL, see the URL syntax section below.įrom the SCM Type drop-down menu, select GIT. In the SCM URL field, enter the URL of your Git server in either of the following formats:
#HOW TO SET UP BITBUCKET WITH UNITY MANUAL#
In the Source Control window, click the Manual tab. To configure Cloud Build to use SSH to access your repository:
#HOW TO SET UP BITBUCKET WITH UNITY CODE#
To configure a Project that retrieves a repository from a different account, sign out of the source code management service first, then configure the Project.įor the next step, see the Setting up a target build platform section. Note: If you are currently signed into the source code management service, Cloud Build uses your current credentials to retrieve the repository list. In the Select a Repository window, choose a repository from which to build the Project and then click the NEXT: TARGET SETUP button.Authorize access to your account as appropriate for the selected source code control service.In the Source Control window, click the GitHub, Bitbucket, or GitLab tile.To configure Cloud Build to use OAuth to access your repository: You can configure access to your repository using the following authorization protocols: In the Build History window, click Set up Cloud Build.See in Glossary tile, click OPEN CLOUD BUILD DASHBOARD. In the dashboard Overview window, on the Cloud Build A continuous integration service for Unity Projects that automates the process of creating builds on Unity’s servers.See in Glossary page, select your Project. A Project stores all of the files that are related to a game, such as the Asset and Scene files. On the Projects In Unity, you use a Project to design and develop a game.Sign in to the Unity Developer Dashboard.To configure Cloud Build to build your Project from a GitHub repository: For more information, see the Unity Teams page. Note: This feature requires a subscription to Unity Teams Advanced. Your repository can be hosted on GitHub, GitLab, Bitbucket, or private servers. Unity Cloud Build supports projects stored in Git repositories.