| Jenkins – Installation and Setup |

What / Why?

Jenkins is Build Automation server software.  It’s the defacto standard for Continuous Integration (CI).  Any serious development team consisting of more than one person, should have a Jenkins server setup.

Regular builds, tests, and deliveries all result in higher productivity and quality.  Team members will immediately know when and why builds/tests fail and allow them to automate deliveries without a time-wasting manual process.

Perspective

This article is from a .NET development perspective – using a full Microsoft stack.  The Jenkins installation is for Windows Server, builds are done with MSBuild, and the source control is TFS.

Prerequisites

Installation and Setup

The default installation directory is “C:\Program Files (x86)\Jenkins”

This webpage will auto open after the installation is finished

You will need to enter the default (autogenerated) secret key to unlock the configuration

1) “C:\Program Files (x86)\Jenkins\secrets”
2) initialAdminPassword
3) {yourSecretKey}

Paste {yourSecretKey} here and continue

A blank page may display for a minute or two, don’t refresh or click off the page, it will load when its finished

For this article we will be manually selecting our plugins (for a barebones setup)

1) Organization and Administration
2) Dashboard View
     Folders Plugin

1) Build Features
2) Credentials Binding Plugin
3) Timestampper

1) Build Tools
2) MSBuild

1) Source Control Management
2) Team Foundation Server Plug-in
3) Install

This page displays the progress for each plugins installation. Once all have finished the page will automatically continue on to the next screen

1)  Username: {yourUsername}
     Password: {yourPass}
     Confirm Password: {yourPass}
     Full name: {yourName}
     Email Address: {yourEmail}
2) Save and Finish

Jenkins installation finished

Manage Jenkins

Global Tools Configuration

1) MSBuild
    Name: “MSBuild_4.0”
    Path to MSBuild: “C:\Windows\Microsoft.NET\Framework64\v4.0.30319”
2) Save

Conclusion

Jenkins is now installed and setup. The next step is to create and configure some builds!

Next Article →

| Jenkins – Build Configuration |