Sha256: 75a93eb57284afc1d1a456caaf51174621d3f5a4147885622f6955cee087409a

Contents?: true

Size: 1.1 KB

Versions: 6

Compression:

Stored size: 1.1 KB

Contents

# octopus_deploy_project_group

Describes an Octopus [Project Group](https://octopus.com/docs/deployment-process/projects#project-group) resource.

## Example

```ruby
describe octopus_project_group('Important Projects') do
  it { should have_description('These are my Very Important projects') }
end
```

#### Type

This type can be instantiated in several ways, depending on [how you authenticate](authentication.md).

Note: `*_projectgroup` (v.1.5.x) is deprecated in favour of `*_project_group`, but included for backwards compatibility

```ruby
octopus_deploy project_group(server_url, api_key, 'Example Group')   # url and apikey provided
octopus_deploy_project_group('Example Group')                        # using env vars
octopus_project_group(server_url, api_key, 'Example Group')          # shorthand
octopus_project_group('Example Group')
```

#### Matchers

| Matcher | Description |
|:--------|:------------|
| should exist | Tests for existence of a project group with the given name |
| should have_description(description) | Tests if the Project group has a given description | 

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
octopus-serverspec-extensions-0.18.1 docs/octopus_deploy_project_group.md
octopus-serverspec-extensions-0.18.0 docs/octopus_deploy_project_group.md
octopus-serverspec-extensions-0.17.3 docs/octopus_deploy_project_group.md
octopus-serverspec-extensions-0.17.2 docs/octopus_deploy_project_group.md
octopus-serverspec-extensions-0.17.1 docs/octopus_deploy_project_group.md
octopus-serverspec-extensions-0.17.0 docs/octopus_deploy_project_group.md