Red Gate forums :: View topic - Deployment Manager reports in TeamCity
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Deployment Manager
Deployment Manager forum

Deployment Manager reports in TeamCity

Search in Deployment Manager forum
Post new topic   Reply to topic
Jump to:  
Author Message
OrangeBean



Joined: 20 Sep 2013
Posts: 3

PostPosted: Fri Sep 20, 2013 6:42 am    Post subject: Deployment Manager reports in TeamCity Reply with quote

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:
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. Sad

I wonder if there is a way to make Deployment Manager reports available on TeamCity?
Back to top
View user's profile Send private message
robin



Joined: 16 Nov 2007
Posts: 15

PostPosted: Fri Sep 20, 2013 12:11 pm    Post subject: Reply with quote

The latest version of DeploymentManager.exe supports a
Code:
--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:
$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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group