<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nae3na</author_name>
  <author_url>https://blog.hatena.ne.jp/nae3na/</author_url>
  <blog_title>なえ箱</blog_title>
  <blog_url>https://nae3na.hatenablog.com/</blog_url>
  <categories>
    <anon>Jenkins</anon>
  </categories>
  <description>pipelineを使い始めてみたのはいいけどConditional Stepをどうやるんだ？ってなったのでメモ。 書き方 whenの中に条件を書くと条件に一致する時に下のstepsが回ります。 真偽値 真偽値で条件分けをする時に気をつけないといけないのは、真偽値のパラメータを設定していたら、.toBoolean()をつけないと文字列として扱われるので条件判別をちゃんとしてくれなかった所。 （${param.hoge}じゃ動かなかったのも.toBoolean()で動いたのかも。そこは未確認） 探し回ってやっとの思いで見つけたのが海外のサイトでした。ありがとう海外サイト。 pipeline { a…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnae3na.hatenablog.com%2Fentry%2Farchives%2F380&quot; title=&quot;pipelineでConditional Stepをつくる【Jenkins】 - なえ箱&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.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-07-13 20:00:15</published>
  <title>pipelineでConditional Stepをつくる【Jenkins】</title>
  <type>rich</type>
  <url>https://nae3na.hatenablog.com/entry/archives/380</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
