Jenkins

Failed to connect to repository: Error performing git command ls-remote -h

During a continuous integration cycle, one of the initial steps is to fetch the code from source code repository. Just before fetching the code, we need to connect the orchestration tool used for continuous integration (CI) with the source code repository. Now suppose we are using Jenkins as the orchestration...

How to integrate a GitHub repository with a Jenkins pipeline

Let us start with a common use case in a typical project. The use case is to fetch the code from source control. Once we are execute this use case i.e. once we are able to fetch the source code, we should be able to perform continuous integration and delivery...

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