1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/resources/metadata/jsonApplyPatch.yaml
Daniel Kurzynski be01dd3869
Add schema patch step in go (#1683)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-06-18 14:50:46 +02:00

28 lines
841 B
YAML

metadata:
name: jsonApplyPatch
description: Patches a json with a patch file
longDescription: |-
This steps patches a json file with patch file using the json patch standard.
This step can, e.g., be used if there is a json schema which needs to be patched.
spec:
inputs:
params:
- name: input
type: string
description: File path to the json file which schould be patched.
mandatory: true
scope:
- PARAMETERS
- name: patch
type: string
description: File path to the patch which should be applied to the json file.
mandatory: true
scope:
- PARAMETERS
- name: output
type: string
description: File path to destination of the patched json file.
mandatory: true
scope:
- PARAMETERS