Archive for category TeamCity
TeamCity: custom agent requirements
Posted by Johan Leino in TeamCity on October 14, 2013
While I was working on another blog post I got to thinking about agent requirements. The reason was that I used PSGet to install a PowerShell module (Pester) onto the TeamCity agent server, i.e. I installed it globally. The downside of this approach was that I didn’t have a great story for knowing whether: the […]
Pester: Using TeamCity to run your tests
Posted by Johan Leino in PowerShell, TeamCity on October 14, 2013
I’ve previously written blog posts about Pester. The first one was a general purpose overview. The second one was about working with modules and Pester. The whole, original, purpose for me using Pester was to get a bit of quality around a PS module I’ve written called TSR. So the last part of the whole […]
PowerShell: Write-Verbose and Write-Debug without annoying word wrap
Posted by Johan Leino in PowerShell, TeamCity on October 9, 2013
Recently I ran into an issue with the PowerShell runner in TeamCity. I wanted to use the Write-Verbose and Write-Debug cmdlets to conditionally output some messages. However I discovered that the output in the build log was anything but what I originally had planned. The messages where “cut off” or word-wrapped so to say in […]
Making use of TeamCity’s NuGet capabilities: Part 2
Posted by Johan Leino in TeamCity on June 17, 2013
This is the second part of my explorations into TeamCity’s NuGet capabilities. In the first part of the series we talked about packaging and publishing. I briefly mentioned that TeamCity also has the ability to install packages and that it probably required a post of its own. This is that post. Enjoy! Installing Packages When […]
Making use of TeamCity’s NuGet capabilities
Posted by Johan Leino in TeamCity on June 14, 2013
TeamCity is a product with many strengths. One of them is the built-in support for working with all aspects of NuGet. This post is a summary of my experiences in that area. Configuration Let’s start with setting up NuGet on our TeamCity server. From the admin view, locate the integrations section. And from there, go […]
Using TeamCity to enable NuGet package restore for solution-level packages
Posted by Johan Leino in C#, TeamCity on June 10, 2013
Problem What’s a solution-level package? A solution-level package is one that installs a tool or additional commands for the Package Manager console, but does not add references or content to any projects in your solution. For example, the psake package installs PowerShell scripts you can use to automate your build process. A package is considered […]
Using TeamCity for ASP.NET development: Backup
Posted by Johan Leino in PowerShell, TeamCity, Web Deploy on May 24, 2013
This is the fourth part of a blog post series on using TeamCity continuous integration server from JetBrains for asp.net development. Here are the links to all the parts of the series: Installing/Configuring TeamCity for use with IIS MSBuild requirements for web package publishing Deploying via Web Deploy Backup (pre-deploy) [this post] 4. Backup (pre-deploy) […]