Jenkins

SonarQube integration with Jenkins Pipeline

In this article we will discuss the steps required to integrate SonarQube with Jenkins. We will first see how to configure SonarQube in Jenkins and then create a Jenkins pipeline project and run analysis using SonarQube.  We will use Java and maven project to demonstrate the integration between SonarQube and...

Simple script to increment artifact version from within Jenkins pipeline

Simple script to increment artifact version from within Jenkins pipeline

Requirement One important requirement when creating a new build in a continuous integration setup is to generate a unique automated artifact version in an increasing order for better tracking. While working from a Jenkins project, the easiest way to create a version is to use the build number. However, this...

Simple Jenkins Declarative Pipeline to Push Docker Image To Docker Hub

Docker hub is one of the many popular repositories for storing docker images.In this post we will cover how to create a docker image using Dockerfile with Jenkins pipeline. Once we have built the image, we will login to Docker Hub and push the image to our private repo in...