Deployment Manager reports in TeamCity

Automated deployment for web applications and databases

Moderators: Mike Upton, justin.caldicott, Sean.newham, csmith, chirayu, DavidSimner, david.conlin

Deployment Manager reports in TeamCity

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

Hi,

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?
OrangeBean
 
Posts: 5
Joined: Fri Sep 20, 2013 6:30 am

Postby robin » Fri Sep 20, 2013 12:11 pm

The latest version of DeploymentManager.exe supports a
Code: Select all
--log
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
$client.DownloadFile("http://deploymentmanager/downloads/rgpublish","RgPublish.exe")
$client.DownloadFile("http://deploymentmanager/downloads/dmexe","DeploymentManager.exe")
Robin Hellen
Test Engineer
Deployment Manager
robin
 
Posts: 20
Joined: Fri Nov 16, 2007 12:02 pm


Return to Deployment Manager

Who is online

Users browsing this forum: agr@ida.dk and 1 guest