Compartir a través de


Chef@1 - Chef v1 task

Deploy to Chef environments by editing environment attributes.

Important

This task is deprecated. Use Chef-CLI.

Inputs

connectedServiceName - Chef Connection
string. Required.

The name of the Chef subscription service connection.


Environment - Environment
string. Required.

The name of the Chef environment to be used for deployment. The attributes of that environment will be edited.


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.


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.


Task control options

All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.

Output variables

None.

Remarks

Use this task to deploy to Chef environments by editing environment attributes.

Important

This task is deprecated. Use Chef-CLI.

Requirements

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