Deployment Manager reports in TeamCity

OrangeBeanOrangeBean Posts: 8
edited September 20, 2013 7:11AM in Deployment Manager
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:
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?

Comments

  • The latest version of DeploymentManager.exe supports a
    --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:
    $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
    DLM Automation
Sign In or Register to comment.