title | description | ms.date | monikerRange |
---|---|---|---|
ChefKnife@1 - Chef Knife v1 task |
Run scripts with Knife commands on your Chef workstation. |
08/19/2024 |
<=azure-pipelines |
:::moniker range="=azure-pipelines"
Run scripts with Knife commands on your Chef workstation.
Important
[!INCLUDE task-deprecation] Use Chef knife client.
:::moniker-end
:::moniker range=">=azure-pipelines-2019 <=azure-pipelines-2022.2"
Run scripts with Knife commands on your Chef workstation.
Important
This task is deprecated. Use Chef knife client.
:::moniker-end
:::moniker range=">=azure-pipelines-2019.1"
# Chef Knife v1
# Run scripts with Knife commands on your Chef workstation.
- task: ChefKnife@1
inputs:
ConnectedServiceName: # string. Required. Chef Subscription.
ScriptPath: # string. Required. Script Path.
#ScriptArguments: # string. Script Arguments.
:::moniker-end
:::moniker range="=azure-pipelines-2019"
# Chef Knife v1
# Run Scripts with knife commands on your chef workstation.
- task: ChefKnife@1
inputs:
ConnectedServiceName: # string. Required. Chef Subscription.
ScriptPath: # string. Required. Script Path.
#ScriptArguments: # string. Script Arguments.
:::moniker-end
:::moniker range="<=azure-pipelines"
ConnectedServiceName
- Chef Subscription
string
. Required.
The Chef subscription to configure before running knife commands.
:::moniker-end
:::moniker range="<=azure-pipelines"
ScriptPath
- Script Path
string
. Required.
The path of the script. This should be fully qualified path or a relative to the default working directory.
:::moniker-end
:::moniker range="<=azure-pipelines"
ScriptArguments
- Script Arguments
string
.
Optional. The additional parameters to pass to the script. Can be either ordinal or named parameters.
:::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
Important
This task is deprecated. Use Chef knife client.
:::moniker range="<=azure-pipelines"
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 |
:::moniker-end