Step 2: Establish Connection to JetBrains Space Now, you can return to TeamCity and add a connection to JetBrains Space. You will need them for configuration on the TeamCity side. However, if you use a proxy for your TeamCity server but access this server directly, the authentication might not work unless the server's IP address is also specified here.Ĭopy the app's Client ID and Client secret. In most cases, it would be enough to specify the Server URL set in Global Settings in TeamCity. To ensure that your TeamCity server can always connect to JetBrains Space, it is important to specify all the other possible endpoint addresses of the server. Enter the redirect URI ( of your TeamCity Server. To be able to use authentication via Space in TeamCity or/and to create projects/configurations from Space repositories, enable Authorization Code Flow as well. Go back to the app's Overview and open the Authentication tab. This request has to be accepted by the server administrator. ![]() To establish general access from TeamCity to Space, enable the Members | View member profile permission and click Save. On the Authorization tab, click Configure. This request has to be accepted by the project administrator. Click Configure and enable Git Repositories | Report external check status. ( Optional) If you want TeamCity to be able to publish commit statuses to Space, you will need to add a respective permission. TeamCity will be able to see only those projects where you are listed as a member. When you create a project in JetBrains Space, it does not automatically add you to this project as a member - this needs to be done manually. On the Authorization tab, click Authorize in new context.Įnter the name of the Space project you are about to access from TeamCity and click Authorize. ![]() ![]() On the navigation bar, click Extensions and choose Installed to organization.Įnter a convenient name (for example, Space-to-TeamCity), save the application, and click Go to application settings. ![]() Step 1: Create Application in JetBrains Space To enable authentication via JetBrains Space in TeamCity, system administration rights in TeamCity.Ĭonnecting TeamCity to JetBrains Space involves two steps: (1) creating a service application for TeamCity authentication in your Space instance and (2) creating a preset of connection to Space. Project administration rights in either the TeamCity Cloud instance or TeamCity On-Premises server of your organization. Project administration rights in the JetBrains Space instance of your organization. To perform all the steps described in this guide, you need to have: This guide consists of the common preliminary setup and optional procedures for enabling each component of the integration. Statuses of builds and code reviews are cross-shared between systems for easier monitoring.įlexible pipelines where builds depend on one another and share settings and results.Ībility to configure builds as code, in Kotlin DSL.Īuthentication with a single account in both systems: VCS (JetBrains Space) and CI/CD (TeamCity). Integration with TeamCity brings the following advantages to the JetBrains Space users:Ĭompiling, testing, and deploying projects within the same environment.īuilding source code of merge requests and merging them automatically after a successful build.Įxtensive build overview: diffs and artifacts, detailed test reports on the fly, code coverage, inspections, and various other metrics.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |