This plugin provides DSL extensions to the BuildFlow plugin to allow building and parsing JSON objects.
Usage in a Build Flow DSL:
def parser = extension."build-flow-json-parser-extension"
def lunch = parser.parseText("{\"food\": [{\"name\": \"pb and j\", \"ingredients\": [\"bread\", \"peanut butter\", \"jelly\"]}]}")
out.println(lunch.food.name) //=> [pb and j]
- Download the
*.hpi
for the version you want in the Releases tab of this repo. - Navigate to the Advanced tab of your Jenkins Master's plugin manager.
- Upload the
*.hpi
you downloaded in step 1.