Installing GitHub Webhooks from TeamCity

Greetings, everyone!

Since TeamCity 10.0 it has become possible to use commit hooks with a TeamCity server. Now, when a VCS change is detected via a commit hook, TeamCity automatically increases the VCS repository polling interval, reducing the load on both the TeamCity server and VCS repository. And obviously the presence of the hook greatly decreases the time needed to detect a change.

Unfortunately, installation and configuration of commit hooks is not an easy task and for on-premises VCS repositories it requires administration skills. At the same time, popular VCS hostings such as GitHub, support installation of commit hooks via their REST API, and installation of commit hooks for them can be a lot simpler, provided that we use such an API from TeamCity…

So today, we’d like to announce one more TeamCity plugin whose task is to install and maintain GitHub commit hooks (do not worry, we plan to add support for other VCS hosting services too).

The plugin supports both GitHub.com and GitHub Enterprise. The plugin does not install a webhook automatically for GitHub.com because a webhook requires a connection from GitHub.com to the TeamCity server, and in the majority of cases, when TeamCity is installed in the intranet, such a connection is blocked by a firewall. In case of GitHub Enterprise, the plugin will install a webhook automatically for any TeamCity project created from a URL or via GitHub integration.

The plugin works with the GitHub REST API and has to make API calls to GitHub on behalf of the current user, so it requires a GitHub connection configured in the project or its parent.

The plugin is quite simple, basically it does three things:

  • It shows a suggestion to install a GitHub webhook if it finds a GitHub repository in a project without such a webhook:webhook_suggestion
  • It provides a new action in the project actions menu for webhook installation enabling you to install or reinstall a webhook at any time: project_actions
  • It checks the status of all of the installed webhooks and raises a warning via the health report if some problem is detected:webhook_problem

The plugin is open source, distributed under the Apache 2.0 license. Most of the code is written in Kotlin. The source code is published on GitHub.

The plugin relies on the new TeamCity API and will only work with TeamCity 10.0 and later. Download the plugin, install it on your TeamCity server and try the plugin. We’ll appreciate your feedback!

Happy building!

Posted in Features, How-To's, News & Events, Tips&Tricks | Leave a comment

TeamCity 10.0.2 is out today

Greeting, everyone!

TeamCity 10.0.2, an update fixing over 200 issues, is available now.

Among the other improvements, build 42234 includes quite a few NuGet-related fixes and several enhancements in the Commit Status Publisher plugin; for the full list, see our release notes.

This bugfix release uses the same data format as the other 10.0.x builds, which means you are free to upgrade/downgrade within the latest major version, so just download TeamCity 10.0.2 and upgrade!

Happy upgrading and building!

Posted in Bugfix, Release | Leave a comment

Webinar recording: Building Scalable, Repeatable Infrastructure in the Cloud

The recording of our August 30 webinar, Building Scalable, Repeatable Infrastructure in the Cloud, is now available on the JetBrains YouTube channel.

In this webinar, Paul Stack helps you design the deployment of your applications into AWS. He demonstrates, using Terraform, that the practices of Infrastructure as Code allow the most scalable and repeatable infrastructure. His demo is be based on deploying TeamCity in AWS using a hosted PostgreSQL database.

 

Posted in Partner, Webinar | Comments Off on Webinar recording: Building Scalable, Repeatable Infrastructure in the Cloud

August 30 live webinar: Building Scalable, Repeatable Infrastructure in the Cloud

Join us Tuesday, August 30th, 16:00 – 17:00 CEST (10:00 – 11:00 EDT) for our free live webinar, Building Scalable, Repeatable Infrastructure in the Cloud with Paul Stack.

In this webinar, Paul Stack will help you design the deployment of your applications into AWS. He will demonstrate, using Terraform, that the practices of Infrastructure as Code will allow the most scalable and repeatable infrastructure. His demo will be based on deploying TeamCity in AWS using a hosted PostgreSQL database.

Space is limited, please register now. There will be an opportunity to ask questions during the webinar.

About the presenter:

paulSRightPaul Stack is a London based infrastructure coder and has spoken at various events throughout the world about his passion for continuous integration, continuous delivery and good operational procedures and why they should be part of what developers and system administrators do on a day to day basis. He believes that reliably delivering software is as important as its development.

Paul’s passions are the DevOps and Continuous Delivery movements and how they help the entire business and its customers.

Posted in Partner, Webinar | Comments Off on August 30 live webinar: Building Scalable, Repeatable Infrastructure in the Cloud

TeamCity Digest #8

teamcity-digest

After some time, during which we released the anniversary TeamCity 10.0 (and then 10.0.1), we are resuming our TeamCity Digest series with the latest TeamCity-related blog posts and articles we’ve stumbled upon during the last couple of months.

Kevin Venter of Xero shares their team experience on running JMeter performance tests in TeamCity: Run JMeter performance tests on TeamCity.

Khalid Abuhakmeh, director of software development at RIMdev, has written a post describing how to run Gulp on a TeamCity build agent consistently every time, without installing it globally: Running Gulp On TeamCity.

Stéphane Erbrech has documented and shared his experience of using TeamCity official Docker images to run a TeamCity server and a Postgres database instance via Docker with data containers: Migrating TeamCity to docker with data containers.

On a similar note, @egregors shares Docker-compose configurations to set up a TeamCity server and minimal agent with PostgreSQL:

Jason St-Cyr of Sitecore recorded a quick screencast of using TeamCity shared resources feature:

A new TeamCity REST API client – FluentTC – has been developed and published by Boris Modylevsky: https://github.com/QualiSystems/FluentTc. Feel free to try it out and contribute.

Another interesting publication is a piece on integrating a UI testing solution Ranorex with TeamCity. The problem is that it requires access to an interactive desktop, which TeamCity, running under a Windows System account, doesn’t provide by default: Integrating Ranorex with TeamCity using PsExec.

A Salesforce engineer’s story on running automated regression tests on multiple TeamCity projects, each one pointing to a different environment using the environmental variables approach: How to handle Visual Studio configurations through TeamCity.

Howard van Rooijen of Endjin, our partner, provides a set of instructions on working with TeamCity backups: A Step by Step Guide to Automating TeamCity Backups.

And here is a script by Richie Lee that uses TeamCity and Octopus Deploy APIs to raise defects if a TeamCity build has failed: Using TeamCity To Raise Octopus Defects Updated.

See all TeamCity Digests.

Posted in Blogroll, Digest | Comments Off on TeamCity Digest #8

TeamCity 10.0.1 Update

We have prepared a 10.0.1 bugfix update based on the feedback we received from those who upgraded. The most critical issues found in 10.0 were documented in the Known Issues section of Upgrade Notes and we provided patches for those affected. All the critical issues related to upgrade are now fixed in this 10.0.1 update. There are a lot of other fixes as well.

All the bugfix 10.0.x releases use the same data format and require a license covering 10.0 release date (21 July 2016), so you can upgrade and downgrade the server within 10.0.x releases freely.

Time to download 10.0.1 build 41078 and upgrade.

Happy building!

Posted in Bugfix, Release | Comments Off on TeamCity 10.0.1 Update

Webinar recording: What’s New in TeamCity 10.0

The recording of our July 28 webinar, What’s New in TeamCity 10.0, is now available on the JetBrains YouTube channel.

In this webinar Wes Higbee goes over new and exciting features of the latest TeamCity release, TeamCity 10.0. He demonstrates creating projects and build configurations using TeamCity DSL; setting up a second node for handling running builds data; advancements in integrations with VCS; flaky test detection, and other new features of TeamCity.

Below is the precise timeline of the webinar and select Q&A:

Continue reading

Posted in Features, Partner, Webinar | Comments Off on Webinar recording: What’s New in TeamCity 10.0

What’s New in TeamCity 10, July 28th Webinar

Join us Thursday, July 28th, 10:00 AM – 11:00 AM EDT (16:00 – 17:00 CEST) for our free live webinar, What’s New in TeamCity 10 with Wes Higbee.

In this webinar, Wes will go over some of the new and exciting features of TeamCity 10.0. He will demonstrate creating projects and build configurations using TeamCity DSL; setting up a second node for handling running builds data; advancements in integrations with VCS; flaky test detection, and other new features of TeamCity.

Space is limited, please register now. There will be an opportunity to ask questions during the webinar.

About the presenter:

Wes McClureWes Higbee is passionate about helping companies achieve remarkable results with technology and software. He’s had extensive experience developing software and working with teams to improve how software is developed to meet business objectives. Wes launched Full City Tech to leverage his expertise to help companies rapidly deliver high quality software to delight customers. He has a strong background in using Continuous Integration with TeamCity to bring quality to the table.
Posted in Features, Partner, Webinar | Comments Off on What’s New in TeamCity 10, July 28th Webinar

Ten Years After: Welcome TeamCity 10!

Greetings, everyone!

Our team is excited to announce the arrival of TeamCity 10.0, the jubilee version of our continuous integration and deployment server!

The number ten is regarded as the most perfect of numbers, as it contains the life and the nothing, the Unit that did it all, and the zero, symbol of the matter and the Chaos, of which all came out; it represents a new beginning at a higher level.

TC100

We literally follow the symbolism: TeamCity 1.0 saw the light in 2006, and 10 years (and BTW over 16 000 bugfixes!) later, TeamCity 10.0 is here! This TeamCity version comes with advanced features revolutionizing the way you create your projects and builds, making you TeamCity installation more scalable, expanding your horizons with new and improved integrations, all packed in the revised UI.

While so many of our users love the simplicity and ease of configuring projects and builds via the UI, for repetitive tasks like copying projects, build configurations, etc. the programmatic approach is by far more efficient. With TeamCity 10.0 Kotlin-based DSL you’ll enter a new world of creating and maintaining your build infrastructure, dynamically applying all your changes to the projects and builds, skipping the need to use the UI.

In this release another take on scalability has been made – now you can set up a two-node TeamCity, distributing the workload between two servers.

Issue trackers integration has been improved: TFS, GitHub, and Bitbucket are supported out of the box

We’ve made significant progress making VCS-related improvements:
cross-platform support for TFS is finally here; TeamCity works with Perforce streams now and more!

This is just a teaser – for the full list of features see our What’s New  and Release Notes, and download TeamCity 10.0! Remember to check the Upgrade Notes before you install the new version!

Register for our webinar to see the new TeamCity 10.0 features in action!

Happy upgrading and building!

P.S. We’ve also adopted a tradition of giving a decennial retrospective of the TeamCity UI, so take a look at our site to see how pretty our GUI grown to be!

Posted in EAP, Features, FYI, News & Events, Tips&Tricks | 3 Comments

TeamCity 10 RC is out

Greetings, everybody!

This TeamCity 10.0 RC build comes with about 120 bug fixes and feature improvements.

We introduced a dedicated UI to link servers in the new projects popup, reworked the two-node configuration and made some more changes to further improve TeamCity.

All the details are available in our release notes, so don’t hesitate to download build  41965, try it and report any issues to our forum or the tracker.

Remember that the new version, TeamCity 10.0, modifies the data format, and it is still under development,  so it is recommended to install it on a trial server.

Please note that the TeamCity EAP license is not available for this build.

The official TeamCity 10.0 release is just round the corner – don’t miss it!

Happy building!

Posted in Bugfix, EAP, FYI, News & Events, Uncategorized | Comments Off on TeamCity 10 RC is out