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...