Skip to content

upload cookbook to chef server

Russell Seymour edited this page Dec 11, 2017 · 3 revisions

Upload a cookbook to Chef Server including dependencies

Settings

Setting Group Required Default Value Description
Display name yes Upload cookbook to Chef Server (Chef) Set the display name for this task
Chef Server endpoint yes Select a valid Chef Server endpoint to use for this task
Cookbook path yes $(Build.SourcesDirectory)/cookbooks Enter the path of the cookbook to upload
Delete Private Key Advanced no True Remove the private key from the agent after completion

Upload Cookbook Task Options

Information

** Warning: this task is currently supported on Linux agents only **

This task runs in an Agent phase within the Build process. It uses the equivalent of the berks install and berks upload commands from the Chef Development Kit to perform this action.

If the ChefDK is not found on the system, it will try and install it first.

Clone this wiki locally