For more information, see Integrate with TeamCity.Īs an administrator, you can enable the TeamCity integration for any project in YouTrack. This operation can also be performed by a project administrator on a per-project basis. To enable the integration, you need to connect to one or more TeamCity servers. For more information, refer to the TeamCity documentation. If you want view the list of issues that are related to the current build in TeamCity, you need to enable the Issue Tracker Integration feature and configure the integration to convert strings into links to issues in YouTrack. The build server integration in YouTrack adds build numbers to issues that are referenced in commits, branch names, or build comments without any additional configuration in TeamCity. In this case, your developers can still mention issues and apply commands in VCS commit messages based on the rules for processing VCS changes for the integration. If you don't want to add build numbers to issues, you can enable the integration without mapping build numbers to a custom field in YouTrack. You can use the default custom field Fixed in build or any other custom field that stores a build type. The YouTrack projects that you want to integrate with TeamCity use a custom field that stores a value as a build type. Roles can be assigned to your account directly or at the group level.įor more information about roles and permissions, refer to the TeamCity documentation. TeamCity also supports a dedicated Tools integration role that includes only the permissions that are required for this integration. These permissions are available to users who are assigned the default Project administrator role. These permissions are only available to users with Administrator level permissions. Access to these permissions is based on the authorization mode that is used by your TeamCity server. You need permission to View project and all parent projects and View user profile. Your user account in TeamCity is assigned the permissions that are required for this integration. You have an active TeamCity installation that runs version 8.0 or later. Prerequisitesīefore you start, verify the following requirements: You can integrate YouTrack with TeamCity 8.0 and later. To learn how to format commands in commit messages, see Apply Commands in VCS Commits. To learn more about VCS changes in YouTrack issues, see View and Edit VCS Changes.Īpply commands to issues in commit messages when TeamCity assembles a build that contains the commit. Build numbers in YouTrack are appended with an icon that provides direct access to the build in TeamCity.Īdd VCS change records to issues that are referenced in commit messages or branch names. Pull build numbers from connected projects and automatically update the values in custom fields that store build numbers for resolved issues. The integration between YouTrack and TeamCity enables useful features in both applications: "^" sign helps split the lines.Follow the instructions on this page to establish a connection between one or more YouTrack projects and a build configuration in TeamCity. The variable should be specified as a single string. Set TEAMCITY_SERVER_OPTS=%TEAMCITY_SERVER_OPTS% -Dproxyset=true ^Ĭhange host and port values to match your network. There are no special settings in UI, but TeamCity is a Java application, so these options can be specified using a common Java approach.Ĭreate \bin\teamcity-init.bat file with the following content: Yes, TeamCity can use proxy server for outgoing connections. ) we have enterprise Licence for TeamCity. TeamCity server : Enterprise TeamCity 8.1, ( running as windows service. How can we configure TeamCity to use our proxy IP and username/password? Our corporate policy is all outbound traffic must run through a proxy. We now need our build agents to contact public repositories (ie: nuget, github, etc). I asked following question to TeamCity server is sitting in our corporate environment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |