<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>jenkins &amp;mdash; devops</title>
    <link>https://write.rpod.club/devops/tag:jenkins</link>
    <description></description>
    <pubDate>Tue, 20 Oct 2026 06:25:51 +0000</pubDate>
    <item>
      <title>Jenkins: run shell command</title>
      <link>https://write.rpod.club/devops/prostoi-sposob-zapustit-komandu-shell-iz-jenkins</link>
      <description>&lt;![CDATA[#jenkins #shell&#xA;&#xA;простой способ запустить команду shell из master jenkins&#xA;&#xA;def proc = &#34;&#34;&#34;ls -l&#34;&#34;&#34;.execute()&#xA;proc.waitFor()&#xA;def b = new StringBuffer()&#xA;proc.consumeProcessErrorStream(b)&#xA;println proc.exitValue()&#xA;println proc.text&#xA;&#xA;` ]]&gt;</description>
      <content:encoded><![CDATA[<p><a href="/devops/tag:jenkins" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">jenkins</span></a> <a href="/devops/tag:shell" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">shell</span></a></p>

<p>простой способ запустить команду shell из master jenkins</p>

<pre><code>def proc = &#34;&#34;&#34;ls -l&#34;&#34;&#34;.execute()
proc.waitFor()
def b = new StringBuffer()
proc.consumeProcessErrorStream(b)
println proc.exitValue()
println proc.text

</code></pre>
]]></content:encoded>
      <guid>https://write.rpod.club/devops/prostoi-sposob-zapustit-komandu-shell-iz-jenkins</guid>
      <pubDate>Thu, 01 Dec 2022 06:19:37 +0000</pubDate>
    </item>
  </channel>
</rss>