<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ramesh Kumhar on Medium]]></title>
        <description><![CDATA[Stories by Ramesh Kumhar on Medium]]></description>
        <link>https://medium.com/@ramesh.kumhar?source=rss-2004afe36325------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*vlj7Cm59u59kQc6c.</url>
            <title>Stories by Ramesh Kumhar on Medium</title>
            <link>https://medium.com/@ramesh.kumhar?source=rss-2004afe36325------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 21:55:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ramesh.kumhar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Agile DevOps — Case of using Jenkins for multiple sites, implementations, and environments for .NET]]></title>
            <link>https://medium.com/iworktech/agile-devops-case-of-using-jenkins-for-multiple-sites-implementations-and-environments-for-net-6e8ffcc5d98e?source=rss-2004afe36325------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e8ffcc5d98e</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[app-cloud]]></category>
            <category><![CDATA[jenkins]]></category>
            <dc:creator><![CDATA[Ramesh Kumhar]]></dc:creator>
            <pubDate>Wed, 04 Jul 2018 06:17:18 GMT</pubDate>
            <atom:updated>2018-07-04T06:19:21.523Z</atom:updated>
            <content:encoded><![CDATA[<h3>Agile DevOps — Case of using Jenkins for multiple sites, implementations, and environments for .NET Cloud Apps (Part-2)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*vMXsn8ZqS_PVNTpcUbdCwA.png" /></figure><p>With multiple projects created on different versions of Visual Studio we forced the build to compile on a single target VS version using the /p and the /tv command line parameter.</p><p>Below is an example of the <em>msbuild</em> commands called in sequence to build all the project files with specific msbuild targets that work with publishing profiles to package the entire site in a ZIP file.</p><pre><em>msbuild.exe D:\Jenkins\Workspace\DEV\AdminPortal\AdminPortal.csproj /tv:12.0 /p:VisualStudioVersion=14.0 /p:Configuration=Release /t:Package</em></pre><pre><em>msbuild.exe D:\Jenkins\Workspace\DEV\CustomerPortal\CustomerPortal.csproj /tv:12.0 /p:VisualStudioVersion=14.0 /p:Configuration=Release /t:Package</em></pre><pre><em>msbuild.exe D:\Jenkins\Workspace\DEV\Webservice\Webservice.csproj /tv:12.0 /p:VisualStudioVersion=14.0 /p:Configuration=Release /t:Package</em></pre><pre><em>&lt;MSBuild Targets=”Package” Projects=…</em></pre><p>We created two Jenkins projects. One to build and another to deploy the packages to various environments. The first project was configured to download all code from the git repo, restore the nuget packages, build all .csproj projects, one at a time, using the /t:Package option and specifying the configuration using the /p:Configuration parameter as given as shown in the above example.</p><p>Once all our sites were built successfully the second project was chained in Jenkins to invoke the deployment project to web deploy each sites to the DEV environment. We added multiple sites to be deployed sequentially. Below are few command lines for the deployment.</p><pre>“C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe” -source:package=’D:\Jenkins\Workspace\DEV\AdminPortal\bin\Package\AdminPortal.zip’ -dest:auto,computerName=’https://DEVSERVER:8172/msdeploy.axd&#39;, userName=’DOMAIN\User’,password=’password’,AuthType=’Basic’,includeAcls=”False” -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -setParamFile:”D:\Jenkins\Configs\DEVELOP\AdminPortal\Customer1.SetParameters.xml” -allowUntrusted -preSync:runCommand=”C:\Windows\System32\inetsrv\appcmd stop site /site.name:Cust1.Adminportal.demo.com” -postSync:runCommand=”C:\Windows\System32\inetsrv\appcmd start site / site.name:Cust1.Adminportal.demo.com”</pre><pre>“C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe” -source:package=’D:\Jenkins\Workspace\DEV\CustomerPortal\bin\Package\ CustomerPortal.zip’ -dest:auto,computerName=’https://DEVSERVER:8172/msdeploy.axd&#39;, userName=’DOMAIN\User’,password=’password’,AuthType=’Basic’,includeAcls=”False” -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -setParamFile:”D:\Jenkins\Configs\DEVELOP\ CustomerPortal\Customer1.SetParameters.xml” -allowUntrusted -preSync:runCommand=”C:\Windows\System32\inetsrv\appcmd stop site /site.name:Cust1.CustomerPortal.demo.com” -postSync:runCommand=”C:\Windows\System32\inetsrv\appcmd start site / site.name:Cust1.CustomerPortal.demo.com”</pre><p>Let’s take a look at the parameters in the web deploy command line from the Customer Portal</p><pre>-source:package=’D:\Jenkins\Workspace\DEV\CustomerPortal\bin\ Package\CustomerPortal.zip’</pre><p>Specify the ZIP package created in the Build process</p><pre>-<br>dest:auto,computerName=’https://DEVSERVER:8172/msdeploy.axd&#39;,userName=&#39;DOMAIN\User&#39;,password=&#39;password&#39;,AuthType=&#39;Basic&#39;,includeAcls=&quot;False&quot;</pre><p>Specify the Parameters of the destination IIS Server, including UserName and password to connect to the server.</p><pre>-verb:sync</pre><p>The sync operation synchronizes data between a source and a destination.</p><pre>-setParamFile:”D:\Jenkins\Configs\DEVELOP\CustomerPortal\Customer1.SetParameters.xml”</pre><p>The SetParamters.xml file is very important for us as we use this to get the IIS Application path where the application needs to be deployed, along with the Web.config transformations that we need to do at deploy time. Refer to the section Folder structure of SetParameters.xml for more information.</p><pre>-preSync:runCommand=”C:\Windows\System32\inetsrv\appcmd stop site /site.name:Cust1.CustomerPortal.demo.com”</pre><p>In case you want to run some command on the destination server before the web deploy starts to copy files; you can specify it using the –presync parameter, We are forcing the website to be stopped so that we don’t get any issues in the deploy process. We also faced some ACL issues, so better to stop the site and deploy</p><pre>-postSync:runCommand=”C:\Windows\System32\inetsrv\appcmd start site / site.name:Cust1.CustomerPortal.demo.com”</pre><p>Need to start the site again, post the deployment process.</p><p>Explore more details in (Part 3)</p><blockquote><a href="http://info.iworktech.com/enterprise-cloud-and-mobile-solutions"><strong><em>Know more about our experience</em></strong></a></blockquote><p><em>Originally published at </em><a href="http://blog.iworktech.com/using-jenkins-for-agile-devops-and-ci-cd-0"><em>blog.iworktech.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e8ffcc5d98e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/iworktech/agile-devops-case-of-using-jenkins-for-multiple-sites-implementations-and-environments-for-net-6e8ffcc5d98e">Agile DevOps — Case of using Jenkins for multiple sites, implementations, and environments for .NET</a> was originally published in <a href="https://medium.com/iworktech">IWORKTECH</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agile DevOps — Case for using Jenkins to build CI/CD pipelines for multisite .NET]]></title>
            <link>https://medium.com/iworktech/agile-devops-case-of-using-jenkins-for-multiple-sites-implementations-and-environments-for-net-c9b55df08716?source=rss-2004afe36325------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9b55df08716</guid>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[staging]]></category>
            <category><![CDATA[net-core]]></category>
            <category><![CDATA[production]]></category>
            <dc:creator><![CDATA[Ramesh Kumhar]]></dc:creator>
            <pubDate>Thu, 28 Jun 2018 12:59:52 GMT</pubDate>
            <atom:updated>2018-06-28T18:05:41.165Z</atom:updated>
            <content:encoded><![CDATA[<h3>Agile DevOps — Case for using Jenkins to build CI/CD pipelines for multisite .NET Cloud environments (Part-1)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*mI5CQe-O03Gv0J0iu7gidA.png" /></figure><p>We were faced with several challenges working with our existing CI/CD systems, namely Bamboo and TeamCity, while setting up our CI/CD pipelines for our on premise private cloud and hybrid cloud infrastructure for our clients.</p><p>To overcome these challenges we decided to evaluate Jenkins, and to our surprise everything went seamlessly. It took us some time before we could get ‘msbuild’ to work, however after installing the correct version of Visual Studio build tools on the build servers everything started working smoothly.</p><p>In this blog I’ll try to outline the challenges and steps we followed to get our complete CI/CD environment setup and configured with Jenkins.</p><h3>Challenges with Jenkins</h3><p>The <a href="http://info.iworktech.com/enterprise-cloud-and-mobile-solutions">cloud based solution we developed</a> for our clients requires tons of configuration to settings and workflows per customers requirements. The workflow rules are defined in database and work differently for each implementation, so in necessitated testing with various personas and custom configured environments.</p><p>Several modules of the solutions, like Administration, Customer Portals, Contractor Portals and Web services were deployed and used with different configuration and versions by multiple customers.</p><p>The figure below depicts components deployed on different server environments and logically composed into a complete solution</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*uN1zAduw0_I4Tk3P2qRc4w.png" /></figure><p>Another challenge was to support multiple environments like — DEV/QA, RELEASE, STAGE, and PRODUCTION, with lot of the configuration stored in the database. The standard config files are kept to bear minimum and contained stuff like connection strings, log configuration, etc. making it easier to build once and deploy on multiple implementations and environments.</p><p>Builds on DEV/QA and RELEASE environments were built from different release branched in the GIT repos. Once the builds were tested in RELEASE environment, the code was then promoted to STAGE for the customer to test and then pushed to PRODUCTION.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*MFlaecTh0x6zOo5bAPnfHw.png" /></figure><p>Explore more details of it in (Part 2)</p><h4><a href="http://info.iworktech.com/enterprise-cloud-and-mobile-solutions">Know more about our experience</a></h4><p><em>Originally published at </em><a href="http://blog.iworktech.com/using-jenkins-for-agile-devops-and-ci-cd-2"><em>blog.iworktech.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9b55df08716" width="1" height="1" alt=""><hr><p><a href="https://medium.com/iworktech/agile-devops-case-of-using-jenkins-for-multiple-sites-implementations-and-environments-for-net-c9b55df08716">Agile DevOps — Case for using Jenkins to build CI/CD pipelines for multisite .NET</a> was originally published in <a href="https://medium.com/iworktech">IWORKTECH</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>