Accessing release description from .ps1

Automated deployment for web applications and databases

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

Accessing release description from .ps1

Postby fredendrix » Mon Sep 09, 2013 8:35 pm

Hi!

I try to figure out how to access release informations from within the postdeploy.ps1 file.

For example, a deployment was made from DM command line, including releasenotefile switch. While deploying, i would like to access those release notes ("release description" in DM UI) from ps script in order to email those notes...

Any idea?

Thanks!
fredendrix
 
Posts: 24
Joined: Tue Dec 18, 2012 3:40 pm
Location: Quebec (Canada)

Postby DavidSimner » Tue Sep 10, 2013 10:07 am

We currently don't support this, but I'm about to add this feature for you :)

The project description, release notes, and deployment comments will all be available as separate variables for the PowerShell.

I'm hoping that this will make tomorrow's (Wed 11th September) release, but if we don't get it tested in time, then it might get pushed to next Wednesday's release.

David
DavidSimner
 
Posts: 49
Joined: Thu Feb 04, 2010 6:05 pm

Postby DavidSimner » Tue Sep 10, 2013 11:23 am

This is now done, and will hopefully by shipped tomorrow (Wed 11th September)

There are now 3 new variables for the PowerShell:
    * RedGateProjectDescription
    * RedGateReleaseNotes
    * RedGateDeploymentComments
DavidSimner
 
Posts: 49
Joined: Thu Feb 04, 2010 6:05 pm

Postby fredendrix » Tue Sep 10, 2013 2:19 pm

Wow! What efficient! Many thanks again!
fredendrix
 
Posts: 24
Joined: Tue Dec 18, 2012 3:40 pm
Location: Quebec (Canada)

Postby Emma A » Thu Sep 12, 2013 1:36 pm

The release of Deployment Manager yesterday contained these predefined variables for use within your scripts.
Emma A
 
Posts: 40
Joined: Mon Mar 30, 2009 2:53 pm

Postby fredendrix » Thu Sep 12, 2013 2:34 pm

Got it! Thanks!
fredendrix
 
Posts: 24
Joined: Tue Dec 18, 2012 3:40 pm
Location: Quebec (Canada)


Return to Deployment Manager

Who is online

Users browsing this forum: No registered users and 0 guests