{"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/baba_s/","blog_url":"https://baba-s.hatenablog.com/","version":"1.0","author_name":"baba_s","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","height":"190","description":"\u6982\u8981 pipeline { agent any stages { stage('Test') { steps { script { def json = readJSON file: 'data.json' } } } } } Jenkins Pipeline \u3067 readJSON \u3092\u4f7f\u304a\u3046\u3068\u3057\u305f\u3089\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f java.lang.NoSuchMethodError: No such DSL method 'readJSON' found among steps [archive, bat, build, catchError, checkout, deleteDir, dir, e\u2026","title":"\u3010Jenkins\u3011java.lang.NoSuchMethodError: No such DSL method 'readJSON' found among steps","url":"https://baba-s.hatenablog.com/entry/2023/01/04/184427","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2023%2F01%2F04%2F184427\" title=\"\u3010Jenkins\u3011java.lang.NoSuchMethodError: No such DSL method &#39;readJSON&#39; found among steps - \u30b3\u30ac\u30cd\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2023-01-04 18:44:27","categories":["Jenkins"],"width":"100%","image_url":null,"type":"rich"}