<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>miya-jan</author_name>
  <author_url>https://blog.hatena.ne.jp/miya-jan/</author_url>
  <blog_title>生産性向上ブログ</blog_title>
  <blog_url>https://www.kaizenprogrammer.com/</blog_url>
  <categories>
    <anon>jenkins</anon>
    <anon>ci</anon>
  </categories>
  <description>小ネタメモです。 Jenkins のジョブを作るときに、パラメータを受け取ってその値を環境変数としてブランチに指定することがあると思います。 ↑こんな感じですね。 しかし、この方法を Jenkins Pipeline で行うとエラーが出ます。 hudson.plugins.git.GitException: Command &quot;git fetch --tags --progress origin +refs/heads/${BRANCH_NAME}:refs/remotes/origin/${BRANCH_NAME} --prune&quot; returned status code 128: stdo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.kaizenprogrammer.com%2Fentry%2F2017%2F07%2F12%2F224948&quot; title=&quot;Jenkins Pipeline でパラメータ（環境変数）でビルドするブランチを指定する - 生産性向上ブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/miya-jan/20170712/20170712224729.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-07-12 22:49:48</published>
  <title>Jenkins Pipeline でパラメータ（環境変数）でビルドするブランチを指定する</title>
  <type>rich</type>
  <url>https://www.kaizenprogrammer.com/entry/2017/07/12/224948</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
