Clyde D'Cruz
Clyde D'Cruz

Reputation: 2065

How to use Chef Tracking Plugin in Jenkins

I have a chef workstation setup on my Jenkins machine and currently use a "execute shell" in jenkins to run a shell script which runs knife bootstrap commands (for configuring nodes) .I have already installed the chef tracking plugin, but dont know how to use it for "tracking when/where/what files are deployed". i.e Can I use this plugin in my setup ? If yes, how do I use it in a jenkins job ?

Upvotes: 0

Views: 230

Answers (1)

StephenKing
StephenKing

Reputation: 37600

As mentioned in the Chef Tracking Plugin wiki:

Recognized resource type
This plugin currently tracks the use of file resource and all its subtypes.

So you have to download the files from jenkins within Chef using e.g. the remote_file resource.

Don't forget to install the chef-handler-jenkins report handler, which then reports back about the usage.

Upvotes: 1

Related Questions