Sha256: 5cc634fc063810088eb78b69be4318306ec3af9d32e34f7060ec579ccf4879fd

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 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

2 entries across 2 versions & 1 rubygems

Version Path
octopus-serverspec-extensions-0.19.1 docs/octopus_deploy_project_group.md
octopus-serverspec-extensions-0.19.0 docs/octopus_deploy_project_group.md