Vikas Goyal

Five Step Guide to Configure Jenkins Server

What is Jenkins?

Jenkins is a build server which is basically used for continuous integration during project development.

It is a server-based system running in a servlet container such as Apache Tomcat.

Jenkins’ core functionality and flexibility allows it to fit in a variety of environments and can help streamline the development process for all stakeholders involved.

How to start with Jenkins?

1. Download Jenkins from and install on PC.

start with Jenkins?

You have lots of plugin option for Jenkins, select the plugins suitable for your project environment or continue with default ones. Plugins are basically add-on functionality which is project and platform dependent for performing various operations.

Plugins can be-

  • Build Name Setter Plugin- By default when you build a project, Jenkins system assigns a name to build like #1,#2,#3. But if you require giving a build meaningful name you can add Build name setter plugin in Jenkins.
  • Exclusion- The purpose of this plugin is to manage conflicts between jobs.
    Exclusion plugin allows you to assign resources name to every job on Jenkins. This feature will be in charge of not building jobs that have same resources at the same time.

2. Once the installation is complete, you can access Jenkins using the http://localhost:8080 (8080 is the default port for Jenkins server unless you haven’t provided any specific port by yourself).

Here you can configure the Jenkins settings from Configure settings option in the side menu, you are required to update plugins and setup project SDK before setting up the project.

configure the jenkins settings from configure settings

  • Manage plugins allows to install and update plugins for Jenkins server. You can install/update development platform specific plugins and generic plugins as well from the settings.
  • Configure credentials provides the option to add credentials to use in Jenkins server like GitHub username/password, etc.
  • Configure System provides settings for Jenkins server like setting up SDK path, configuring environment variables, etc.

3. Manage Plugins

Manage Plugins

As you can see there are 4 tabs in Manage plugins, the first tab is for Updates available for plugins, you can select and update any of the plugins.

The second tab shows all the plugins Available to download from plugins manager, depending on the version of Jenkins that you have installed. As plugins are compatible with a specific version of Jenkins, and they will appear only if the same version is installed.

The third tab shows the Installed plugins in Jenkins server, here you can uninstall the plugins if required.

The last and fourth option is Advanced, it is useful when you want to use a plugin which is not available on Jenkins central repository. You can provide the plugin URL, Jenkins will install and configure the plugin for your server.

4. Configure system

It provides you control over settings for Jenkins server and managing build environment for specific platforms.

For example, for an Android project, you need to define the SDK in environment variable as ANDROID_HOME  along with SDK path.

Configure system

For the iOS project, you need to define Xcode build executable path and agvtool executable path and xc run executable path like define in below image-

Configure system

You can also change the access URL of Jenkins server like it is defined in attached screenshot-

change the access URL of Jenkins server

5. Configure Credentials

To add/update credentials you need to click on Credentials option from left side menu.

Now you will see the list of all added domains and their credentials and on clicking any credential you can update it or add a new one.

Configure Credentials

This is a simple guide to setup Jenkins server with a project related setting, and in my next blog, I will try to explain how to configure Android project in Jenkins in 5 steps.

If you have any query feel free to drop your comments below.


Related Articles


NHibernate, Linq and Lazy Collections

For the past few months we have been busy building a services framework for one of our clients so that they can build all of their enterprise web services without ever having to worry about the cross cutting concerns and... Read more

Page Redirects using Spring.NET

Who is responsible for page redirects in ASPNET MVP – The View or the Presenter None of the above, it is you :) On a serious note, it is the View as one shouldn’t pollute the Presenter with the page navigation... Read more