Chef identity plugin for Jenkins doesn't work when Git also active?
Make a job with Chef Identity active, preparing the build environment. The .chef dir gets created and has the knife.rb file in it correctly, yay!
Now enable Git for the job, to pull in any repo. Wipe the workspace. The Git clone works fine and the .git dir gets created. The .chef dir no longer appears. Cheffy stuff fails. Wat.
It seems inconsistent and works sometimes, fails sometimes ...
There is a workaround - run the job once with only Chef enabled, not Git. The .chef is created. Then enable Git and .git is created. I suspect though that any actual changes to the knife.rb template in Configure Jenkins will fail to replicate in the .chef dir, which would be awfully easy to forget and pull out hair over for a few hours.
Edit: Seems so inconsistent the workaround doesn't work well enough either :( Disabled Git for the DestroyDropletAgent job too
Need to file a bug against the Chef Identity plugin.