Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Alex-Yates/59771f7c63f0e88eba74ed5028890304 to your computer and use it in GitHub Desktop.
Save Alex-Yates/59771f7c63f0e88eba74ed5028890304 to your computer and use it in GitHub Desktop.
# VSTS Redgate Build step does not have a field for DLM Dashboard integration
# However, by running this PS script after your build step you can register the package
# Replace localhost with the DLM Dashboard server
# If using a different port be sure to modify below
# Make sure the NuGet package will match whatever version numbers you are using in your build step
# Set the working directory of the powershell script to the VCS root, where the plugin creates the NuGet package.
$package = Import-DlmDatabasePackage –Path SqlServerCentral1.0.$env:BUILD_BUILDID.nupkg
Publish-DlmDatabasePackage $package –DlmDashboardUrl http://localhost:19528
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment