jenkins中的工作失败并出现字符串错误

时间:2018-12-05 17:21:30

标签: json string jenkins input runtime-error

我们正在使用jenkins的一组参数创建一个json。它因错误的字符串错误而失败     输入:     echo'{“ build_number”:“ 12”,“ build_date”:“ 12-05-18_04:06:40”,“ branch”:“ dev / Testing / 1.5Test”,“ build_tag”:“ Dev / 1.5NodeTest” ,“ commit”:“ Test”}'| json

Error:
json: error: input is not JSON: Bad string at line 1, column 3:
{ "build_number": "12" , "build_date": "12-05-18_04:06:40" , "branch": "dev/Testing/1.5Test" , "build_tag":" Dev/1.5Test" , "commit": "Test"
                                                                          ..^

Please help on how to resolve the issue

0 个答案:

没有答案