Kevin Wilson
  • Blog
  • About
  • Feed

Continuous Integration

Use PowerShell to Add Some Logic to Your Build Numbers in TeamCity

April 9, 2015June 15, 2016 Kevin Wilson 4 Comments

TeamCity has a bunch of parameters that you can use to change-up your build number if you want to. Want to add the build count? 1.0.%build.counter% How about adding the branch name as well? 1.0.%build.counter%-%teamcity.build.branch% How about truncating the branch name at 20 characters to support Semantic Versioning and excluding the branch name completely if […]

Read More

Deploy a Database Project DacPac using OctopusDeploy and PowerShell

April 7, 2015June 15, 2016 Kevin Wilson 4 Comments

In the past, I’ve had to write numerous collections of PowerShell scripts to deploy websites to various development servers. Octopus Deploy takes the pain out of that by providing a slick interface that lets you easily set up environments and get your code out to them. One thing that it doesn’t handle out of the […]

Read More

Use Ant and Closure Compiler to compress every JavaScript file in a project if you have lots of files

July 25, 2012 Kevin Wilson 6 Comments

In a previous post, I set out how to use an Ant script to run every JavaScript file in a project through the Closure compiler. For the most part, this has been working fine for me. Then I ran it against a project with some 50-odd JavaScript files and it started to throw PermGen OutOfMemoryError […]

Read More

Use Ant and Closure Compiler to compress every JavaScript file in a project

May 21, 2012 Kevin Wilson 1 Comment

There’s an updated version of this script in this blog post. At work, we use TeamCity to automatically build and deploy to dev projects as we check in changes. One thing that’s always been a bit of a nuisance is dealing with the compression of JavaScript files that we’ve written for the projects. Developing locally, […]

Read More

Recent Posts

  • Split your cmder window into multiple panels
  • Fix Error 0x80072EE7 on Windows 10
  • UX Snippets: Avoid mismatching instructions and actions
  • The horrible UX of the National Lottery website messaging system
  • Death of a Team
  • Authorize Your Azure AD Users With SignalR
  • Get Your Web API Playing Nicely With SignalR on OWIN with Autofac
  • An Email To Revolut Customer Services
  • Switch Out Your Raygun API Key Depending on Web API Cloud Configuration
  • Get Bluetooth Working on Windows 10 on Mac Book Pro
Digital Ocean. Simple Cloud Servers, Built for Developers.

Archives

Tags

.NET ADAL Amazon Android AngularJS Ant ASP.NET Azure C# Closure Compiler Cmder Code Continuous Integration Debugging Drivers Facebook Git Google Chrome Grunt How To Jasmine JavaScript Linux MacBook middleman Musings Node.js Octopus Deploy Photo PowerShell Rants Recipe Reviews Self Promotion SignalR Site Updates TeamCity Tech Toronto TypeScript Unit Testing UX WebAPI Web Development Windows 10
Kevin Wilson All rights reserved. Theme by Colorlib Powered by WordPress