fixing workflow

This commit is contained in:
dcore94 2021-09-17 14:43:59 +02:00
parent aa62460dfe
commit bb421be71b
1 changed files with 10 additions and 9 deletions

View File

@ -176,18 +176,19 @@
} }
}, },
{ {
"name" : "http", "name" : "pyrest",
"taskReferenceName" : "send_json_report", "taskReferenceName" : "send_json_report",
"type" : "HTTP", "type" : "SIMPLE",
"inputParameters" : { "inputParameters" : {
"http_request": { "expect" : [200, 301],
"uri" : "${workflow.input.callback.url}", "url" : "${workflow.input.callback.url}",
"method" : "POST", "method" : "POST",
"body" : "${build_json_report.output.result.report}", "headers" : {
"expect" : [200, 301] "Content-type": "application/json"
} },
"body" : "${build_json_report.output.result.report}"
} }
} },
], ],
[ [
{ {