YouTrack Server
 
2019.2
Get YouTrack Standalone
You are viewing the documentation for an earlier version of YouTrack Server. View this page in the current documentation

Integrate with a Build Server

Last modified: 17 December 2019

If you are working on a software development project and use either TeamCity or Jenkins, there are some useful integration features that can reduce the amount of duplicated effort that is performed by your team. A build server integration enables useful features in both YouTrack and the connected build server:

  • YouTrack pulls build numbers from connected projects. Issues that were resolved after the last known successful build are automatically assigned the build number of the next successful build. This value is added to a custom field that stores the build number for each resolved issue.

    You can specify whether issues that are mentioned in commit messages and build comments are assigned build numbers and use a search query to assign build numbers to issues that match specific criteria.

  • Your developers reference an issue ID in the comments when they commit updates to the code repository. The build server integration adds a direct link to the YouTrack issue in the change details.
    The comment is automatically added to the list of VCS changes in the activity stream for the issue in YouTrack. Each VCS change includes a direct link to the change details in the build server.

  • Your developers can enter commands in the comments for their commits in the repository. When the build server assembles a build that contains the commit message, the command is applied all of the issues that are referenced in the command. You can use this feature to update the status or add comments to one or more issues without even opening YouTrack.

You can configure options for builds that are connected to your projects on the Build Server Integration tab of the Edit Project page.

build server integration

When the integration is enabled in your project, the following controls are available on the Build Server Integration tab: