title | description | ms.date | monikerRange |
---|---|---|---|
Chef@1 - Chef v1 task |
Deploy to Chef environments by editing environment attributes. |
05/17/2024 |
<=azure-pipelines |
:::moniker range="=azure-pipelines"
Deploy to Chef environments by editing environment attributes.
Important
[!INCLUDE task-deprecation] Use Chef-CLI.
:::moniker-end
:::moniker range="=azure-pipelines-2022.2"
Deploy to Chef environments by editing environment attributes.
:::moniker-end
:::moniker range="<=azure-pipelines-2022.1"
Deploy to Chef environments by editing environment attributes.
Important
This task is deprecated. Use Chef-CLI.
:::moniker-end
:::moniker range=">=azure-pipelines-2019"
# Chef v1
# Deploy to Chef environments by editing environment attributes.
- task: Chef@1
inputs:
connectedServiceName: # string. Required. Chef Service Connection.
Environment: # string. Required. Environment.
Attributes: # string. Required. Environment Attributes.
chefWaitTime: '30' # string. Required. Wait Time. Default: 30.
:::moniker-end
:::moniker range=">=azure-pipelines-2019"
connectedServiceName
- Chef Service Connection
string
. Required.
The name of the Chef subscription service connection.
:::moniker-end
:::moniker range="<=azure-pipelines"
Environment
- Environment
string
. Required.
The name of the Chef environment to be used for deployment. The attributes of that environment will be edited.
:::moniker-end
:::moniker range="<=azure-pipelines"
Attributes
- Environment Attributes
string
. Required.
Specifies the value of the leaf node attribute(s) to be updated. Example: { "default_attributes.connectionString" : "$(connectionString)", "override_attributes.buildLocation" : "https://sample.blob.core.windows.net/build" }
. The task fails if the leaf node does not exist.
:::moniker-end
:::moniker range="<=azure-pipelines"
chefWaitTime
- Wait Time
string
. Required. Default value: 30
.
The amount of time (in minutes) to wait for this task to complete. Default value: 30 minutes.
:::moniker-end
All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.
:::moniker range="<=azure-pipelines"
None.
:::moniker-end
Use this task to deploy to Chef environments by editing environment attributes.
Important
This task is deprecated. Use Chef-CLI.
:::moniker range="<=azure-pipelines"
Requirement | Description |
---|---|
Pipeline types | YAML, Preview, Classic build, Classic release |
Runs on | Agent |
Demands | Self-hosted agents must have capabilities that match the following demands to run jobs that use this task: Chef, KnifeReporting, DotNetFramework |
Capabilities | This task does not satisfy any demands for subsequent tasks in the job. |
Command restrictions | Any |
Settable variables | Any |
Agent version | 1.83.0 or greater |
Task category | Deploy |
:::moniker-end