Skip to main content

DATASTAR: Set Json Parameters

Reads a JSON file and sets a pipeline variable for each top-level property. For example:

{
"BuildId": "123",
"WorkItem": "987",
"Version": "45",
"BuildNumber": "67.89"
}

results in pipeline variables BuildId, WorkItem, Version, and BuildNumber set to their values.

Inputs

Required inputs marked with *.

InputRequiredDescription
Parameter Directory*YesDirectory containing the parameter file.
Parameter File*YesFilename of the JSON file to read.

Advanced options

InputDescription
Fail on Standard ErrorFail the task if anything is written to stderr.

Support

Report problems to support@absolute.technology.