sous-chefs / jenkins

Development repository for the jenkins cookbook
https://supermarket.chef.io/cookbooks/jenkins
Apache License 2.0
424 stars 635 forks source link

Do not quote boolean parameters in the job resource #713

Closed mbaitelman closed 5 years ago

mbaitelman commented 5 years ago

Signed-off-by: Mendy Baitelman mendy@baitelman.com

Description

Currently when passing in parameters the code always quotes them. If they are booleans when quoted Jenkins treats them as text instead of boolean. This change skips quotes if the value is of TrueClass or FalseClass.

Check List

tas50 commented 5 years ago

Thanks @mbaitelman