Deployment Manager - 1.0
Command line syntax - Deployment Manager
You specify DeploymentManager.exe syntax as a command, followed by a number of options:
deploymentmanager <command> <option> <option>
Commands
You can use the following commands with DeploymentManager.exe:
- create-release
Creates and optionally deploys a release
- deploy-release
Deploys a release
- list-environments
Lists the environments you can deploy to
Note that:
- you can specify any number of the available options with each command
- each command has a number of required options
Options
--server=<server URL> (required)
The URL of your Deployment Manager server.
Example: --server=http://localhost:99/
The create-release, deploy-release and list-environments commands require this option.
--apiKey=<API key> (required)
The API key of your Deployment Manager user account.
Example: --apikey=JBIKPFSAH2BZEC8TTZYSLNBEU
The create-release, deploy-release and list-environments commands require this option.
--project=<project name> (required)
The name of the Deployment Manager project you want to use.
Example: --project="Widget Shop"
The create-release and deploy-release commands require this option.
--deployto=<environment> (required with deploy-release)
The environment you want to deploy to.
Example: --deployto=Staging
The deploy-release command requires this option, but it is optional with create-release.
--releaseversion=<version> (required with deploy-release)
The version number for the new release.
Example: --releaseversion=1.0 or --releaseversion=1.%build.number%
If you don't specify this option, the highest version number of all the packages you're deploying is used as the release version.
If you want to use the build number from a continous integration server (for example TeamCity), you can specify a variable or parameter.
The deploy-release command requires this option, but it is optional with create-release.
--user=<username> (optional)
Your Deployment Manager account username.
Example: --user=administrator
You can specify this option with the create-release, deploy-release and list-environments commands.
--pass=<password> (optional)
Your Deployment Manager account passowrd.
Example: --pass=password
You can specify this option with the create-release, deploy-release and list-environments commands.
--packageversion=<package name>=<version> (optional)
The version number for a package you want to deploy.
Examples: --packageversion="Widget Shop"=1.1 or --packageversion=1.1
You can use --packageversion=<version> to set a version number for all packages that you have not specified a version for.
If you do not specify this option, the latest available version of a package will be used.
You can specify this option with the create-release command.
--releasenotes=<notes> (optional)
The release notes for the new release.
Example: --releasenotes="Patch to fix bug BG-399"
You can specify this option with the create-release command.
--releasenotesfile=<path> (optional)
The path to a file that contains release notes for the new release.
Example: --releasenotesfile="C:\Deployments\Release notes\release_notes.txt"
You can specify this option with the create-release command.
--deploymenttimeout=<time> (optional)
The maxiumum time a deployment can take.
Example: --deploymenttimeout=00:30:00
Specify the value in the format hh:mm:ss. The default value is 00:10:00.
You can specify this option with the create-release and deploy-release commands.
--deploymentchecksleepcycle=<time> (optional)
The amount of time between deployment status checks.
Example: --deploymentchecksleepcycle=00:00:30
Specify the value in the format hh:mm:ss. The default value is 00:00:10.
You can specify this option with the create-release and deploy-release commands.
--waitfordeployment (or -w) (optional)
If specified, the command will wait for the deployment to complete before returning.
You can specify this option with the create-release and deploy-release commands.
Was this article helpful?
all SQL products
- Compatibility of Red Gate tools in 64-bit environments
- Application has encountered an error and needs to close
- Error message after installing SQL Toolbelt - The description for Event ID ( 1 ) in Source ( nview_info ) cannot be found.
- Changing the temporary directory used by the installer
- Toolbelt Installer "hanging" while "scanning volumes"
- Login failing with "trusted SQL Server connection" error when using RunAs
all products
- Some Red Gate products identified as containing a trojan by Anti-Virus software
- Activation may fail with Unknown Error -1
- Product uses web help although a CHM file is available locally
- Argument exception resulting from missing environment variable
- Check for updates may fail when used through proxies
- 'Unidentified Publisher' error when repairing or uninstalling
- Licensing activates product as standard edition
- Moving Red Gate software products to another machine
- Red Gate tools log locations
- The application UI opening slowly when there is no internet access
all SQL products
all products
- Red Gate product acknowledgements
- Activating your products
- Activating your products
- Red Gate bundle history
- Check for updates
- Troubleshooting Check for Updates errors
- Current versions
- Deactivating your products
- Installing Red Gate products from the .msi file
- Requesting additional activations
- Serial numbers for bundles
- Reactivating using a different serial number
- Extending your trial
- Finding your serial numbers
- Moving a serial number from one computer to another
- No response received for manual activation
- Licensing and activation resources
- Licensing and activation resources
- Troubleshooting licensing and activation errors
- Licensing and activation FAQs
- Red Gate tools log file locations
- Download old versions of products
- Download product prerequisites & utilities
- Support & upgrades
- Upgrading your software
- Upgrading FAQs

Installing and upgrading