<?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>Lessen Build Time Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/lessen-build-time/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/lessen-build-time/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:53:55 +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 we reduced build time from 8 hours to 1 hour ? &#8211; Complete Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/how-we-reduced-build-time-from-8-hours-to-1-hour/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-we-reduced-build-time-from-8-hours-to-1-hour/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 21 Jun 2010 09:30:11 +0000</pubDate>
				<category><![CDATA[Build Management]]></category>
		<category><![CDATA[Build Process time]]></category>
		<category><![CDATA[Build time]]></category>
		<category><![CDATA[Build time Optimization]]></category>
		<category><![CDATA[Decrease Build Time]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[How to reduced build time]]></category>
		<category><![CDATA[Instruction]]></category>
		<category><![CDATA[Lessen Build Time]]></category>
		<category><![CDATA[Method]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Reduce]]></category>
		<category><![CDATA[Save build time]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ways]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/06/21/how-we-reduced-build-time-from-8-hours-to-1-hour/</guid>

					<description><![CDATA[<p>Situation For one of our clients, Build is taking 8 hours and nightly build is failing frequently. Test case execution [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-we-reduced-build-time-from-8-hours-to-1-hour/">How we reduced build time from 8 hours to 1 hour ? &#8211; Complete Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-4425 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/06/hudson-master-slave-setup.png" alt="hudson-master-slave-setup" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/06/hudson-master-slave-setup.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/06/hudson-master-slave-setup-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p><strong>Situation</strong></p>
<ol>
<li>For one of our clients, Build is taking 8 hours and nightly build is failing frequently.</li>
<li>Test case execution is consuming more time than the compilation.</li>
<li>Low confidence levels for developers on nightly builds and subsequently during integration cycle.</li>
</ol>
<p><strong>Approach</strong></p>
<ol>
<li>We reviewed the whole set of build scripts being used and test case suite to check how we can refatcor them.</li>
<li>Verified the build infrastructure i.e., build server capacity from hardware point of view.</li>
<li>Feasibility study done to check how a CI environment help in giving faster feedback on the quality.</li>
</ol>
<p><strong><br />
Solution</strong></p>
<ol>
<li>Refactoring done for build scripts to make modules compilation parallel (wherever possible).</li>
<li>Some test cases are selected (which don’t require external services like database) to run as part of the build.</li>
<li>CI environment (using open source cruise control) is established to run builds per commit and execute only above set of test cases as part of the build.</li>
<li>Set up low-cost remote agent machine which will run remaining test suite once per day.</li>
</ol>
<p><strong>Results</strong></p>
<ol>
<li>Build took only 1 hour and gave faster feedback to dev team.</li>
<li>CI environment provided good confidence to dev team.</li>
<li>Team is able to implement more best practices.</li>
<li>Effective use of existing build  infrastructure (hardware) ensured no further cost is required.</li>
<li>This helped the client in ensuring smooth release management.</li>
</ol>
<p>&nbsp;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-we-reduced-build-time-from-8-hours-to-1-hour/">How we reduced build time from 8 hours to 1 hour ? &#8211; Complete Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-we-reduced-build-time-from-8-hours-to-1-hour/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
