Deployment Manager reports in TeamCity

Automated deployment for web applications and databases

Deployment Manager reports in TeamCity

Postby OrangeBean » Fri Sep 20, 2013 5:42 am


We are using Deployment Manager in tandem with TeamCity.

The diagnostic part of failed deployment is kind of problematic. We are using custom nuget packages with powershell scripts to perform deployment. Deployment Manager collect all output from Deployment Agent and make it available on Deployment Manager portal which is great, but not exactly what I'm after.

The deployment is triggered from TeamCity. When the deployment failed TeamCity send a message to developer and dev normally go to TeamCity to see the log of the build, but what he/she might found there is:

Code: Select all
Deployment task 'tasks-15809' has failed. Please check Deployment Manager web site for more details.

To continue investigation dev need to jump on Deployment Manager portal, find project, release, and then drill through the log there. :(

I wonder if there is a way to make Deployment Manager reports available on TeamCity?
Posts: 5
Joined: Fri Sep 20, 2013 5:30 am

Postby robin » Fri Sep 20, 2013 11:11 am

The latest version of DeploymentManager.exe supports a
Code: Select all
command-line switch to output the full deployment log.

You can also add another build step to your build configuration which always gets the latest executables from your Deployment Manager server. This would be a powershell runner type with the following script:
Code: Select all
$client = New-Object System.Net.Webclient
Robin Hellen
Test Engineer
DLM Automation
Posts: 21
Joined: Fri Nov 16, 2007 11:02 am

Return to Deployment Manager

Who is online

Users browsing this forum: No registered users and 0 guests