Posts tagged with 'Octopus Deploy'

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

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…

Deploy a Database Project DacPac using OctopusDeploy and PowerShell

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 box…

Use PowerShell to Create a Folder in Octopus Deploy

Octopus Deploy has a small but good selection of tasks that you can run as part of a deployment process. If you find yourself wanting to create a folder as part of a deployment (it could be a target for uploaded files, logs etc.) then you can do that quite easily through PowerShell. In this example, we'll create an…

Published

Provisioning a Windows Server Vagrant box with IIS, .NET 4.5 and Octopus Deploy

As part of testing for our new Continuous Integration set-up, I needed to pull together a bunch of machines for testing deployments. I had planned on using Octopus Deploy to do this so Vagrant seemed like the best choice for getting new machines set up. Provisioning The entry point for creating a Vagrant box is…