Jenkins : Chef Sinatra Jenkins Plugin

Plugin Information

View Chef Sinatra on the plugin site for more information.

The current version of this plugin may not be safe to use. Please review the following warnings before use:



The plugin allows the auto code deployment when specific package is ready to all the assigned nodes based on the Sinatra app running in background.

Detail Description: At times when we do the auto code deployment using chef configuration management tool, "chef-client" OR any another command for that matter (E.x. : knife bootstrap) needs to be executed on the remote hosts as per the configuration of run list. This plugin provides the interface and several options to configure the behavior on how to perform the deployment.

Use case:

  • The plugin is useful when code needs to be deployed on multiple nodes in parallel OR sequential.
  • runs on-demand or scheduled "chef-client" OR any command on selected nodes as per configuration.
  • generates the report as a post build action once the deployment completes. This is TODO


  • Plugin refers to the Builder extension point and add the option in Build section.
  • Plugin provides several configuration options to validate the connectivity before saving the job configuration 
  • the current release supports freestyle project type. future release may support other job types. stay tuned.


  • The plugin is highly dependent on :
  • above sinatra app exposes the xml containing all the nodes for each project and environment.
  • the plugin consumes this xml for further processing.
  • this sinatra app is simple gem which you install very easily and quickly.
  • please ensure that, chef sinatra app is running always to work this plugin properly.
    • This can be possible command to run the app in background. "ruby ./chef-rundeck -c /root/chef-repo/.chef/knife.rb -o -u chef-admin -p 9980 --partial-search=true"

Job Configuration:

  • Here is the screenshot:

Manual triggers:

  • NA

Known Issues:

  • Report is not working in post build section. Should be available soon

Need Help:

  • Join the jenkins user mailing list :



  • 1.20 (July 20, 2017)
  • 1.14 (Major release) (JAN 15 2017)
    • Data binding issue fixed
    • Findbug issues
    • New field added in plugin configuration
  • 1.3 (Initial release) (APR 22 2016


image.png (image/png)
image1.png (image/png)