<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mst-it</author_name>
  <author_url>https://blog.hatena.ne.jp/mst-it/</author_url>
  <blog_title>mito’s blog</blog_title>
  <blog_url>https://mitomito.hatenablog.jp/</blog_url>
  <categories>
    <anon>Jenkins</anon>
  </categories>
  <description>はじめに 成功パターン $の前に「\」バックスラッシュをつけ「'」シングルクォーテーションで囲む 失敗パターン $の前に「\」をつけるのみ $の前に「\」をつけ、引数は「&quot;」で、全体は「'」で囲む $の前に「\」をつけ、引数は「&quot;」で、全体も「&quot;」で囲む はじめに Jenkinsのパイプラインの「$xxx」をsedコマンドで変換します。 成功パターン $の前に「\」バックスラッシュをつけ「'」シングルクォーテーションで囲む sh &quot;sed -i 's/\$xxx/AAA/g' test.txt&quot; Jenkinsfile pipeline { agent any stages { stage('…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmitomito.hatenablog.jp%2Fentry%2F2022%2F06%2F08%2F080000&quot; title=&quot; [Jenkins] パイプライン内で$文字列をsedで置換する - mito’s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-06-08 08:00:00</published>
  <title> [Jenkins] パイプライン内で$文字列をsedで置換する</title>
  <type>rich</type>
  <url>https://mitomito.hatenablog.jp/entry/2022/06/08/080000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
