From 62a2cc02b00895dc536b4fbb5cdb19ac8e135c9c Mon Sep 17 00:00:00 2001 From: shaowenchen Date: Wed, 29 Jul 2020 18:12:53 +0800 Subject: [PATCH] add parameter for to_json Signed-off-by: shaowenchen --- pkg/simple/client/devops/pipeline.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkg/simple/client/devops/pipeline.go b/pkg/simple/client/devops/pipeline.go index 6fe18d99..299faaa3 100644 --- a/pkg/simple/client/devops/pipeline.go +++ b/pkg/simple/client/devops/pipeline.go @@ -1008,6 +1008,18 @@ type ResJson struct { } `json:"value,omitempty"` } `json:"arguments,omitempty"` } `json:"agent,omitempty"` + Parameters struct { + Parameters []struct { + Name string `json:"name,omitempty" description:"name"` + Arguments []struct { + Key string `json:"key,omitempty" description:"key"` + Value struct { + IsLiteral bool `json:"isLiteral,omitempty" description:"is literal or not"` + Value string `json:"value,omitempty" description:"value"` + } `json:"value,omitempty"` + } `json:"arguments,omitempty"` + } `json:"parameters,omitempty"` + } `json:"parameters,omitempty"` } `json:"pipeline,omitempty"` } `json:"json,omitempty"` } `json:"data,omitempty"` -- GitLab