Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 643 Bytes

File metadata and controls

17 lines (12 loc) · 643 Bytes

Build Flow JSON Parser Extension

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]

Installation

  1. Download the *.hpi for the version you want in the Releases tab of this repo.
  2. Navigate to the Advanced tab of your Jenkins Master's plugin manager.
  3. Upload the *.hpi you downloaded in step 1.