Chef Ideas

We believe that the best way to build software is to do it in close collaboration with the people who use it. We invite you to submit your ideas using the form below. Please be sure to include the problem for which you are solving and the benefits of implementing the idea.

We do our best to implement as many Ideas as we can. Our Product team will evaluate all submitted ideas in a timely manner and will disposition each into one of the following categories: will integrate into the product roadmap, further research is needed, unlikely to implement.

Thanks for collaborating with us!

Exit status non-zero when cookbook upload fails

Implementing CICD with our Jenkins, I observed that even though a knife cookbook upload fails, it still exits with a success. Changing this to a non-zero exit would result in a failed publish step, which would be expected. The errors below indicate that a publish was not successful, even though the error messages did assist in resolving the issue.

ERROR: Cannot find a cookbook named test-mike; did you forget to add metadata to a cookbook? (https://docs.chef.io/config_rb_metadata/)
WARNING: Could not find any cookbooks in your cookbook path: '/workspace'. Use --cookbook-path to specify the desired path.
<-- Completed freestyle step in 0:03.3

Build ran successfully.

  • Mike Kennedy
  • Oct 12 2020
  • Under Consideration
  • Attach files