<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>《浅谈Jenkins Pipeline》的评论</title>
	<atom:link href="http://www.showerlee.com/archives/1972/feed" rel="self" type="application/rss+xml" />
	<link>http://www.showerlee.com/archives/1972</link>
	<description>与你共同学习运维开发</description>
	<lastBuildDate>Tue, 09 Feb 2021 11:37:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6</generator>
	<item>
		<title>作者：showerlee</title>
		<link>http://www.showerlee.com/archives/1972/comment-page-1#comment-13316</link>
		<dc:creator>showerlee</dc:creator>
		<pubDate>Mon, 01 Oct 2018 10:25:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.showerlee.com/?p=1972#comment-13316</guid>
		<description><![CDATA[&lt;a href=&quot;#comment-13174&quot; rel=&quot;nofollow&quot;&gt;@eryajf&lt;/a&gt;  嗯 最近一段时间比较忙, 我已经加了]]></description>
		<content:encoded><![CDATA[<p><a href="#comment-13174" rel="nofollow">@eryajf</a>  嗯 最近一段时间比较忙, 我已经加了</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：showerlee</title>
		<link>http://www.showerlee.com/archives/1972/comment-page-1#comment-13315</link>
		<dc:creator>showerlee</dc:creator>
		<pubDate>Mon, 01 Oct 2018 10:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.showerlee.com/?p=1972#comment-13315</guid>
		<description><![CDATA[你可以使用Dynamic Choice Parameter通过Groovy语法来抓取这个git仓库的所有branch, 并作为一个多选项, 方便我们在最终Build前去动态选择我们需要的这个产品Branch分支.
这里我来写一个例子:
def gettags = (&quot;git ls-remote -h git@git.showerlee.com:showerlee/phpcms.git&quot;).execute()  
gettags.text.readLines().collect { it.split()[1].replaceAll(&#039;refs/heads/&#039;, &#039;&#039;)  }.unique() 

具体细节你可以看我这篇文章: http://www.showerlee.com/archives/1880]]></description>
		<content:encoded><![CDATA[<p>你可以使用Dynamic Choice Parameter通过Groovy语法来抓取这个git仓库的所有branch, 并作为一个多选项, 方便我们在最终Build前去动态选择我们需要的这个产品Branch分支.<br />
这里我来写一个例子:<br />
def gettags = (&#8220;git ls-remote -h git@git.showerlee.com:showerlee/phpcms.git&#8221;).execute()<br />
gettags.text.readLines().collect { it.split()[1].replaceAll(&#8216;refs/heads/&#8217;, &#8221;)  }.unique() </p>
<p>具体细节你可以看我这篇文章: http://www.showerlee.com/archives/1880</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：mylm</title>
		<link>http://www.showerlee.com/archives/1972/comment-page-1#comment-13305</link>
		<dc:creator>mylm</dc:creator>
		<pubDate>Sat, 29 Sep 2018 08:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.showerlee.com/?p=1972#comment-13305</guid>
		<description><![CDATA[参数化构建，git parameter插件就没办法使用，不能获取远程仓库的branch或者tag信息，只能使用choices或者string parameter这样的参数化构建，我现在的项目都是根据tag来发布的。]]></description>
		<content:encoded><![CDATA[<p>参数化构建，git parameter插件就没办法使用，不能获取远程仓库的branch或者tag信息，只能使用choices或者string parameter这样的参数化构建，我现在的项目都是根据tag来发布的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：eryajf</title>
		<link>http://www.showerlee.com/archives/1972/comment-page-1#comment-13174</link>
		<dc:creator>eryajf</dc:creator>
		<pubDate>Fri, 01 Jun 2018 09:10:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.showerlee.com/?p=1972#comment-13174</guid>
		<description><![CDATA[嗯，后期会详细进行深入了解学习。另外，博主文章很不错哦。不知是否可以申请一下互换友链！！这样也方便以后串门，，我的站点www.eryajf.net]]></description>
		<content:encoded><![CDATA[<p>嗯，后期会详细进行深入了解学习。另外，博主文章很不错哦。不知是否可以申请一下互换友链！！这样也方便以后串门，，我的站点www.eryajf.net</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：showerlee</title>
		<link>http://www.showerlee.com/archives/1972/comment-page-1#comment-13155</link>
		<dc:creator>showerlee</dc:creator>
		<pubDate>Thu, 03 May 2018 06:31:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.showerlee.com/?p=1972#comment-13155</guid>
		<description><![CDATA[&lt;a href=&quot;#comment-13154&quot; rel=&quot;nofollow&quot;&gt;@eryajf&lt;/a&gt; pipeline其实就是将原来freestyple(需要每个具体位置都用UI配置构建模式)代码化, 而且它能通过stage将我们的build按照不同的环境或者具体集成的系统划分开来. 所以应该是在原来基础上的一个革新.
具体你说的分支问题, 这个要具体看你要有什么需求, 不过大多问题都能通过pipeline来解决.]]></description>
		<content:encoded><![CDATA[<p><a href="#comment-13154" rel="nofollow">@eryajf</a> pipeline其实就是将原来freestyple(需要每个具体位置都用UI配置构建模式)代码化, 而且它能通过stage将我们的build按照不同的环境或者具体集成的系统划分开来. 所以应该是在原来基础上的一个革新.<br />
具体你说的分支问题, 这个要具体看你要有什么需求, 不过大多问题都能通过pipeline来解决.</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：eryajf</title>
		<link>http://www.showerlee.com/archives/1972/comment-page-1#comment-13154</link>
		<dc:creator>eryajf</dc:creator>
		<pubDate>Wed, 02 May 2018 08:20:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.showerlee.com/?p=1972#comment-13154</guid>
		<description><![CDATA[我的疑问与上边那位兄弟的差不多，类似之前freestyle的方式进行的构建，基本上每一个有多种情况的地方（如代码的分支，部署or回滚等）都可以通过参数化构建来进行配置，那么这个pipeline是否有类似的变量控制呢，上边那个是两个分支，或许可以那样写一下，但是如果此时有一个新的分支呢，，也成问题了，最近刚开始研究这个，，可能问题比较初级，见笑]]></description>
		<content:encoded><![CDATA[<p>我的疑问与上边那位兄弟的差不多，类似之前freestyle的方式进行的构建，基本上每一个有多种情况的地方（如代码的分支，部署or回滚等）都可以通过参数化构建来进行配置，那么这个pipeline是否有类似的变量控制呢，上边那个是两个分支，或许可以那样写一下，但是如果此时有一个新的分支呢，，也成问题了，最近刚开始研究这个，，可能问题比较初级，见笑</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：showerlee</title>
		<link>http://www.showerlee.com/archives/1972/comment-page-1#comment-13090</link>
		<dc:creator>showerlee</dc:creator>
		<pubDate>Wed, 21 Mar 2018 03:00:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.showerlee.com/?p=1972#comment-13090</guid>
		<description><![CDATA[可以在jenkins file先构建一个stage去checkout这两个分支, 这两个分支会同时放在这个job的workspace同目录下, 然后构建一个stage编译代码, 最后构建一个stage去测试然后调用同目录的资源信息.]]></description>
		<content:encoded><![CDATA[<p>可以在jenkins file先构建一个stage去checkout这两个分支, 这两个分支会同时放在这个job的workspace同目录下, 然后构建一个stage编译代码, 最后构建一个stage去测试然后调用同目录的资源信息.</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：hh</title>
		<link>http://www.showerlee.com/archives/1972/comment-page-1#comment-13088</link>
		<dc:creator>hh</dc:creator>
		<pubDate>Mon, 19 Mar 2018 08:04:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.showerlee.com/?p=1972#comment-13088</guid>
		<description><![CDATA[我现在有2个git地址需要拉取   一份资源信息（master分支）  一份是代码（develop分支）   代码需要编译  编译后的测试需要用到资源信息   这个jenkins file要怎么写]]></description>
		<content:encoded><![CDATA[<p>我现在有2个git地址需要拉取   一份资源信息（master分支）  一份是代码（develop分支）   代码需要编译  编译后的测试需要用到资源信息   这个jenkins file要怎么写</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：showerlee</title>
		<link>http://www.showerlee.com/archives/1972/comment-page-1#comment-12901</link>
		<dc:creator>showerlee</dc:creator>
		<pubDate>Thu, 20 Jul 2017 03:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.showerlee.com/?p=1972#comment-12901</guid>
		<description><![CDATA[希望大家有兴趣可以尝试一下Jenkins Pipeline.]]></description>
		<content:encoded><![CDATA[<p>希望大家有兴趣可以尝试一下Jenkins Pipeline.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
