-
Notifications
You must be signed in to change notification settings - Fork 46
Get OctopusDeployment
###Summary Gets information about Octopus deployments
###Parameters
Name | DataType | Description |
---|---|---|
EnvironmentName | String[] | Environment Name |
ProjectName | String[] | Project Name |
Before | DateTimeOffset | Get deployment created before this date |
After | DateTimeOffset | Get deployment created after this date |
###Syntax
Get-OctopusDeployment [[-EnvironmentName] <String[]>] [[-ProjectName] <String[]>] [[-Before] <DateTimeOffset>] [[-After] <DateTimeOffset>] [<CommonParameters>]
###Examples EXAMPLE 1
Get all the deployments that were done on the Octopus Instance. You might wanna go grab a coffee after hitting [enter] on this one, its gonna take a while.
PS C:\>Get-OctopusDeployment
EXAMPLE 2
Get all the deployments from all the projects which name starts with "MyProduct.*"
PS C:\>Get-OctopusDeployment -ProjectName "MyProduct.*"
EXAMPLE 3
Get all the deployents that were done to the environments Staging and UAT on the project "MyService"
PS C:\>Get-OctopusDeployment -EnvironmentName "Staging","UAT" -ProjectName "MyService"
EXAMPLE 4
Get all the deployments that were done to the environment "Production" on the projects "MyProduct.webapp" and "MyProduct.service"
PS C:\>Get-OctopusDeployment -project "MyProduct.Webapp","MyProduct.service" -Environment "Production"
EXAMPLE 5
Get all the deployments that were done to the environment "Production" on the projects "MyProduct.Webapp" between 2/20/2015 and 2/21/2015
PS C:\>Get-OctopusDeployment -project "MyProduct.Webapp" -Environment "Production" -After 2/20/2015 -Before 2/21/2015
Getting Started
Cmdlets & Examples
- Get-OctopusChannel
- Get-OctopusConnectionInfo
- Get-OctopusDashboard
- Get-OctopusDeployment
- Get-OctopusEnvironment
- Get-OctopusFeed
- Get-OctopusLifecycle
- Get-OctopusMachine
- Get-OctopusProject
- Get-OctopusProjectGroup
- Get-OctopusRelease
- Get-OctopusResourceModel
- Get-OctopusServerThumbprint
- Get-OctopusTagSet
- Get-OctopusTeam
- Get-OctopusTenant
- Get-OctopusToolPath
- Get-OctopusToolsFolder
- Get-OctopusToolVersion
- Get-OctopusUser
- Get-OctopusVariableSet
- Install-OctopusTool
- New-OctopusConnection
- New-OctopusResource
- Remove-OctopusResource
- Set-OctopusConnectionInfo
- Set-OctopusReleaseStatus
- Set-OctopusToolPath
- Set-OctopusToolsFolder
- Update-OctopusResource
Advanced Examples
Real Life Scenarios
Release Notes