<?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 Pipeline についての小ネタメモです。 まず、when + branch の条件について簡単に説明しますと、ビルドが特定のブランチに対して実行されるときだけ処理を実行するように書ける文法です。 pipeline { agent any stages { stage('Example Build') { steps { echo 'Hello World' } } stage('Example Deploy') { when { branch 'production' } steps { echo 'Deploying' } } } } ↑の例をマルチブランチパイプラインジ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.kaizenprogrammer.com%2Fentry%2F2017%2F07%2F19%2F235739&quot; title=&quot;Jenkins Pipeline の when + branch は通常のパイプラインジョブでは使えない - 生産性向上ブログ&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>2017-07-19 23:57:39</published>
  <title>Jenkins Pipeline の when + branch は通常のパイプラインジョブでは使えない</title>
  <type>rich</type>
  <url>https://www.kaizenprogrammer.com/entry/2017/07/19/235739</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
