ChefKnife@1 - Chef Knife v1 task
Run Scripts with knife commands on your chef workstation.
Inputs
ConnectedServiceName
- Chef Subscription
string
. Required.
The Chef subscription to configure before running knife commands.
ScriptPath
- Script Path
string
. Required.
The path of the script. This should be fully qualified path or a relative to the default working directory.
ScriptArguments
- Script Arguments
string
.
Optional. The additional parameters to pass to the script. Can be either ordinal or named parameters.
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
Important
This task is deprecated. Use Chef knife client.
Requirements
Requirement | Description |
---|---|
Pipeline types | YAML, Preview, Classic build |
Runs on | Agent |
Demands | Self-hosted agents must have capabilities that match the following demands to run jobs that use this task: Chef, 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 |