ASP.Net Web Application Continuous Integration (CI) using Jenkins automation server: Basic Setup, Installation & Configuration
Recently, I get a chance to work on setting up Continuous Integration (CI) for ASP.Net projects using Jenkins (open source automation server). My projects are using git version control system & git repositories are hosted on Bitbucket. I have previously worked on Visual Studio Team Services & Team City for Continuous Integration (CI). In this blog post, I will share my experience of setting up CI using Jenkins.
In this blog post, we will see what all basic setups, installations & configurations we need to do before getting Jenkins up & running for building ASP.NET Web Application.
Note: You are currently on Part I of this series, do refer below parts for more details.
Part II: Starting & setting up Jenkins
Part III: Creating & Adding SSH key to Bitbucket
Part IV: Creating Jobs In Jenkins: Getting source code from Bitbucket hosted git repository, polling the SCM to check whether changes were made, restore Nuget packages, build project using MSBuild, publish and archive the build
A. Download & Install
I. Java SE Runtime Environment
https://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html (Java SE Runtime Environment 8u201)
II. Git Client
III. Build Tools for Visual Studio
https://visualstudio.microsoft.com/downloads/ (Visual Studio 2019)
Select -> Web Development Build Tools
IV. Apache Tomcat®
Download & Unzip (to any location of your choice) – My location: “I:\Jenkins\apache-tomcat-9.0.17“
Download & Paste to Apache Tomcat®’s “webapps” folder – My “webapps” folder location: “I:\Jenkins\apache-tomcat-9.0.17\webapps”
https://jenkins.io/download/ (Jenkins 2.164.1)
Download & Paste to any location of your choice – My location: “I:\Jenkins\tools“
B. Add system environment variables
C. Edit “Path” system environment variables
Add paths for: git.exe & nuget.exe
.NET Professional | Microsoft Certified Professional | DZone’s Most Valuable Blogger | Web Developer | Author | Blogger
Doctorate in Computer Science and Engineering
Microsoft Certified Professional (MCP) with over 12+ years of software industry experience including development, implementation & deployment of applications in the .NET framework
Experienced and skilled Agile Developer with a strong record of excellent teamwork, successful coding & project management. Specialises in problem identification and proposal of alternative solutions. Provided knowledge and individual mentoring to team members as needed
Among top 3% overall in terms of contribution on Stack Overflow (~2.3 million people reached my posts). Part of the top 1% Stack Overflow answerers in ASP.NET technology.
DZone’s Most Valuable Blogger (MVB)
Created and actively maintain the TechCartNow.com tech blog while also editing, writing, and researching topics for publication.
Excellent skills in Application Development using C#/Vb.Net, .NET Framework, ASP.NET, MVC, ADO.NET, WCF, WPF, Web API, SQL Server, jQuery, Angular, React, BackboneJS