davidtore.blogg.se

Octopus teamcity
Octopus teamcity











Open the Visual Studio project directory and add a new empty file called Octo.nuspec. This is actually the plugin we installed earlier.ġ3. In the build step 3 there is section for Octopus. Now add three build steps to the configuration “01 – Package restore”, “02 – Build solution” and** “03 – Create Nuget Package”.** Use the options provided in the screen dump below. Attach the created VCS Root to the configuration.ġ2. Whenever a push is performed on the git repo this is the trigger that starts the build process.ġ1. Create** VCS trigger** underneath “Triggers” menu. Add this inputstring in the “Build number format” field underneath “General Settings”** menu as well.ġ0. Use the same format in all three input fields:** %%.%%.%%.%unter%. Use the parameters created in prevous step. Under Build Features add a new build feature: “ Assembly Info patcher”. Move to your “100 – Master CI” build configuration and three parameters:, and **. **These parameters will be used to create a buildnumber.ĩ. The naming convention is inspired by Roy Osherove talk about beautiful buildsĨ. I’m naming my builds for “100 – Master CI” and** “110 – Master Deploy website”**. Add two build configurations to your TeamCity Octo project, one for building the project and creating artifacts, and one for deploying the artifacts to Octopus.

octopus teamcity

Surprisingly enough we will be using the newly created repo from Bitbucket octo.gitħ. Start by creating a new project in TeamCity, called Octo. This is where Octopus Deploy have it strengths.Ħ. In this example we will be using one git branch, master, that will be build and deployed once, but promoted to different environments. Add the unit test project to it as well. Following the instructions provided in Bitbucket should make this a quite easy process.ĥ.

octopus teamcity

NET Framework 4.6 and map it with your Bitbucket repo. Create a Web Application (I’,m using MVC) in Visual Studio based on. Now create a user on Bitbucket and create a Git repository. Stop TeamCity services, and move your Octopus plugin to the following directory:** “D:\TeamCity\plugins”. **Now start your TeamCity services again, and the plugin will be installed automatic.ģ.

#OCTOPUS TEAMCITY INSTALL#

Download and install Octopus TeamCity plugin. To enable the public feed the Guest user login must be allowed. Enable both the Authenticated feed and the Public feed. Enable Nuget Feed in TeamCity: Administration -> Nuget.











Octopus teamcity