BitTorrent Plugin for TeamCity
Some time ago we announced the plugin that turns TeamCity into a torrent tracker and a seeder for large artifacts.
Judging by the flow of feedback — both positive and not so much — the plugin is in use by quite a few of our users. To remedy the not-so-much part, we are presenting a new version of the plugin, BitTorrent Support, today.
If you’re new to BitTorrent, you might want to read our previous post on the subject first. For those familiar with the plugin, here is the list of the critical performance and security bug fixes, as well as the new features:
- Optimized downloading speed in the torrent library (TW-49963)
- Optimized memory usage by seeded torrents on the server and agent sides (TW-35395)
- Optimized server resource usage on a build finish
- Security fix related to modifying torrents settings by non-server admin users (TW-9523)
- Ability to switch the plugin on/off for particular projects and build configurations
- A large number of minor fixes.
Setting up the plugin
Once you restart the server, a new link, Torrent Settings, will appear in the Administration area. By default, the plugin is disabled. To enable it server-wide, check the options for the TeamCity server and agents (you can later disable the plugin for some of the projects or build configurations if required):
For the plugin to work correctly, TCP ports in the 6881-6889 interval should be open on the TeamCity server and agents.
If the plugin works correctly and you checked the options on the Torrent settings page, in the subsequent builds the agents will use the BitTorrent protocol to download all large artifacts (over 10Mb by default). The details will be logged: see the example of the build log in the Verbose mode:
[16:09:35][Resolving artifact dependencies] Downloading TeamCity.tar.gz via BitTorrent protocol. [16:09:36][Resolving artifact dependencies] Download successful. Avg speed 208154 kb/s. [16:09:37][Resolving artifact dependencies] Started seeding /home/user/Downloads/TeamCity2017-2/buildAgent/system/.artifacts_cache/<XXX.XX.XXX.XX>_8111/httpAuth/repository/download/Test_Artifact/6.tcbuildid/TeamCity.tar.gz
Enabling / disabling the plugin for particular projects and build configurations, as well as controlling the artifacts size available via BitTorrent can be done using the configuration parameters described in the technical notes to the plugin’s Github repository.
Subscribe to Blog updates
Thanks, we've got you!
Introducing AWS Connection: A New Approach for Working With AWS in TeamCity
We’ve introduced a new feature called the AWS Connection, which makes it possible to work with AWS credentials more flexibly and safely.
TeamCity 2022.10: Sakura UI, Improved Integration With Amazon AWS, Out-of-the-Box HTTPS Support, Google OAuth Authentication, and More.
TeamCity 2022.10 comes with the Sakura UI enabled by default, introduces many cloud-related features including the AWS credentials management system and out-of-the-box terminal access to AWS EC2-based build agents, and adds important improvements to VCS integrations. Server administrators will love the new streamlined way to implement HTTPS for on-premises TeamCity installations. Also, a new authentication module for using Google accounts and a number of long-requested features have been implemented.
Transition to native Git in TeamCity 2022.04 brings 10x fetch time reduction to IntelliJ Platform
Starting from version 2022.04, TeamCity switched to native Git on the server side for Git VCS connections. The switch should positively impact both performance and overall experience of working with Git repositories on the TeamCity server side.In this blog post, we’ll talk about the reasons for the …
TeamCity 2022.04: Parallel Tests, Improved Integration with Amazon AWS, Built-in Code Quality Analysis, Updated VCS Integrations, and more
TeamCity 2022.04 introduces the new Parallel Tests feature that delivers an extraordinary speed boost when testing your projects. New powerful code analysis features will cut the time you spend on code reviews and increase the maintainability of your projects. Users who run their builds in the cloud…