opscode-cookbooks/jenkins — pull request #250 by jf647 (2014-07-27 00:13:34+00:00)
Title: Allow jenkins_job to work with folders

Some job types in Jenkins (cloudbees-folders specifically) don't have a 'disabled' element, but the jenkins_job assumes that they will, blindly calling #text on the return of an XPath lookup (which can be nil).

This change assumes that if there isn't a disabled element, then the job is enabled.