{"author_name":"int128","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fint128.hatenablog.com%2Fentry%2F2016%2F10%2F27%2F224533\" title=\"\u30b9\u30af\u30ea\u30d7\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u4e0a\u3067Slave\u3067\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b - GeekFactory\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","published":"2016-10-27 22:45:33","title":"\u30b9\u30af\u30ea\u30d7\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u4e0a\u3067Slave\u3067\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b","image_url":null,"blog_title":"GeekFactory","provider_name":"Hatena Blog","version":"1.0","description":"Jenkins\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u5229\u7528\u3059\u308b\u3068\u3001Slave\u3067\u4efb\u610f\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u5177\u4f53\u7684\u306b\u306f\u3001 RemotingDiagnostics.executeGroovy() \u30e1\u30bd\u30c3\u30c9\u3092\u5229\u7528\u3057\u3066Slave\u3067Groovy\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002 import hudson.util.RemotingDiagnostics // Slave\u30ce\u30fc\u30c9\u540d def node = 'node-name' // \u5b9f\u884c\u3057\u305f\u3044\u30b3\u30de\u30f3\u30c9 def command = 'uname -a' println RemotingDiagnostics.executeGroovy(\"\"\" def p = '$command'\u2026","width":"100%","height":"190","url":"https://int128.hatenablog.com/entry/2016/10/27/224533","author_url":"https://blog.hatena.ne.jp/int128/","type":"rich","categories":["jenkins","groovy"],"blog_url":"https://int128.hatenablog.com/"}