java.lang.NoSuchMethodError: No such DSL method 'readJSON'

南笙酒味 提交于 2019-11-30 17:42:19

Using Pipeline Utility Steps Plugin you can use the readJSON function.

def props = readJSON text: '{ "key": "value" }'

You can not use this function without this plugin.

For more info check: Steps

Install the Pipeline Utility Steps plugin.

And in my case it was just a stupid typo: readJson instead of readJSON.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!