<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bitbucket Tutorial Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/bitbucket-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/bitbucket-tutorial/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:49:34 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>How to build when a change is pushed to Bitbucket</title>
		<link>https://www.scmgalaxy.com/tutorials/build-when-a-change-is-pushed-to-bitbucket/</link>
					<comments>https://www.scmgalaxy.com/tutorials/build-when-a-change-is-pushed-to-bitbucket/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 01 Aug 2017 18:10:46 +0000</pubDate>
				<category><![CDATA[Source Code Management]]></category>
		<category><![CDATA[Bitbucket]]></category>
		<category><![CDATA[Bitbucket Tutorial]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[Change]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Push]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/08/01/build-when-a-change-is-pushed-to-bitbucket/</guid>

					<description><![CDATA[<p>&#160; Bitbucket plugin is designed to offer integration between Bitbucket and Jenkins. &#160; It exposes a single URI endpoint that [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/build-when-a-change-is-pushed-to-bitbucket/">How to build when a change is pushed to Bitbucket</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img fetchpriority="high" decoding="async" class="size-full wp-image-2716 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/08/bitbucket-tutorials.png" alt="bitbucket-tutorials" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/08/bitbucket-tutorials.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/08/bitbucket-tutorials-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></div>
<div></div>
<p>&nbsp;</p>
<div>Bitbucket plugin is designed to offer integration between Bitbucket and Jenkins.</div>
<div></div>
<p>&nbsp;</p>
<div>It exposes a single URI endpoint that you can add as a WebHook within each Bitbucket project you wish to integrate with. This single endpoint receives a full data payload from Bitbucket upon push (see their documentation), triggering compatible jobs to build based on changed repository/branch.</div>
<div></div>
<p>&nbsp;</p>
<div><strong>Step 1 &#8211;</strong> Install &#8220;Bitbucket Plugin&#8221; at your Jenkins</div>
<div></div>
<p>&nbsp;</p>
<div><strong>Step 2 &#8211;</strong> Add a normal Post as Hook to your Bitbucket repository (Settings -&gt; Hooks) and use following url:</div>
<p>&nbsp;</p>
<div>https://YOUR.JENKINS.SERVER:PORT/bitbucket-hook/</div>
<div>and if you have setup authentication on jenkins then URL must be like</div>
<div></div>
<p>&nbsp;</p>
<div>https://USERNAME:PASSWORD@YOUR.JENKINS.SERVER:PORT/bitbucket-hook/</div>
<div></div>
<p>&nbsp;</p>
<div><strong>Step 3 &#8211;</strong> Configure your Jenkins project as follows:</div>
<div></div>
<p>&nbsp;</p>
<div><strong>Step 4 &#8211;</strong> Under build trigger enable Build when a change is pushed to BitBucket</div>
<div></div>
<p>&nbsp;</p>
<div><strong>Step 5 &#8211;</strong> under Source Code Management select GIT; enter your credentials and define Branches to build (like **feature/*)</div>
<div></div>
<p>&nbsp;</p>
<div><strong>Note 1 &#8211;</strong> Make sure to include the slash (&#8216;/&#8217;) on the end of the URL or the hook won&#8217;t work.</div>
<p>&nbsp;</p>
<div></div>
<div><strong>Note 2 &#8211;</strong> Please read the BitBucket Plugin info page as well <a href="https://wiki.jenkins.io/display/JENKINS/BitBucket+Plugin" target="_blank" rel="noopener">https://wiki.jenkins.io/display/JENKINS/BitBucket+Plugin</a></div>
<div></div>
<p>&nbsp;</p>
<div><strong>Reference 1  </strong></div>
<div><a href="https://confluence.atlassian.com/bamboo/repository-triggers-the-build-when-changes-are-committed-289276902.html" target="_blank" rel="noopener">https://confluence.atlassian.com/bamboo/repository-triggers-the-build-when-changes-are-committed-289276902.html</a></div>
<div></div>
<div><strong>Reference 2 &#8211; Login issues with Jenkins url</strong></div>
<div><a href="https://www.scmgalaxy.com/tutorials/how-to-trigger-builds-remotely-in-jenkins">https://www.scmgalaxy.com/tutorials/how-to-trigger-builds-remotely-in-jenkins</a></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/build-when-a-change-is-pushed-to-bitbucket/">How to build when a change is pushed to Bitbucket</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/build-when-a-change-is-pushed-to-bitbucket/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
