-
Notifications
You must be signed in to change notification settings - Fork 3
update cookbook version number
Russell Seymour edited this page Nov 13, 2017
·
1 revision
Update a cookbook version to the current build number
Setting | Required | Default Value | Description |
---|---|---|---|
Display name | yes | Add variables to Chef environment (Chef) | Set the display name for this task |
Cookbook version | yes | $(Build.BuildNumber) |
Enter the version of the Cookbook to release. Typically this will match the build number of the triggering build |
Metadata file | yes | $(Build.SourcesDirectory)/cookbooks/mycookbook/metadata.rb |
Enter the path of the Metadata.rb file to update |
This task runs in an Agent phase within the Build process. It takes the specified version number and applies it to the Chef metadata.rb, so it is ready for upload.
Endpoints
Tasks
- Add Variables to Chef Environment
- Install ChefDK
- Execute Chef Client
- Install InSpec
- Execute Inspec
- Install Gem
- Execute Knife
- Linting
- Test Kitchen
- Release Cookbook Version to Environment
- Update Cookbook Version Number
- Upload Cookbook to Chef Server
- Publish Cookbook to Supermarket
Guides
Releases