Configuring SSH authentication between GitHub and Jenkins

In one of the previous blog post, we have discovered how to build GitHub project using Jenkins. In that post, since it was a public repository, we did not tried to authenticate to GitHub. Here, we’ll cover how to use SSH keys to authenticate to GitHub repos. This applies to both public and private source code repositories.

For this post’s purposes, we’ll use a sample source code repository at You can use any repository on which you have required access. …Continue Reading

Install Maven on Windows Server

Maven is a tool that can be used for building and managing any Java-based project. You can think of it as build manager. It allows a project to build using its project object model (POM) and a set of plugins that are shared by all projects using Maven, providing a uniform build system. In this blog post, we’ll discover steps required to install and configure Maven on windows server.

Install Java SDK on server and Configure environmental variables

This makes use of Chocolatey package manager. You need to have administrative privileges on the windows server in reference. First, make sure that execution policy to RemoteSigned. …Continue Reading

Build GitHub Project using Jenkins

Build jobs are at the heart of Jenkins. These days GitHub has become an excellent choice for keeping source code repositories due to its features. In this blog post, we’ll cover steps required to build a GitHub project using Jenkins.

To start with, login into Jenkins admin console and go to Manage Jenkins -> Manage Plugins -> Available and then search for GitHub Plugin:

Select and Install GitHub Plugin.JPG
Select and Install GitHub Plugin

This may install other dependent plugins required for it to work …Continue Reading

Execute PowerShell scripts in Jenkins Jobs

PowerShell is now a 10 year old scripting technology. It is a must know for everyone who is working as sysadmin for one of the Microsoft server products whether its Windows server, SharePoint, Exchange, System Center etc. In fact, its part of Microsoft Server stack basic requirements, and no product is passed to release if it does not match this requirement. So its supported by all of the Microsoft Server products in one way or the other. It’s therefore naturally to assume that build admins need to use it during one of their builds. In this blog post, we’ll cover how to execute PowerShell related commands or scripts in a Jenkins build. …Continue Reading