Jenkins

Fail to get bootstrap index from server: SonarQube error

You might have come across this error “Fail to get bootstrap index from server” while running SonarQube analysis. For this blog post we will discuss this error as it occurs in Jenkins while executing a job which includes Sonar analysis. You might come across this error in SonarQube in a...

Guide to configure a webhook in SonarQube

Overview Webhooks are configured for sending notification to a web address that an event has occurred. In SonarQube, webhooks are configured to send notification to third party services to notify them of the SonarQube code analysis completion. In this post we will discuss in detail why to configure a webhook...

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