Let the ozone layer deplete. Your job is to reach home safely.

Women run the economy of India as much as men do. At least as an egalitarian, I would like to believe so. However, while they are at it, women are being stared at. To say that it is our right to use…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Install SonarQube on Ubuntu 21 Using PostgreSQL

A step-by-step guide to install SonarQube Server on Ubuntu.

Every developer trying their best to produce clean and safe code. However, the developer may write some buggy code. The bug/vulnerability present in the code may not be found by the developer and his/her peer code reviewer. So we need a tool to analyze our source and have to list the problem present in the code. SonarQube addresses this problem. SonarQube is used as a code quality and code security checking tool. SonarQube will analyze the code written by the developer and will report the various problem present in the code such as bug, vulnerability, and code smells. SonarQube is an open-source code analyzing tool.

SonarQube supports 27 programming languages as of now.

We can integrate the SonarQube in CI/CD pipeline using Jenkins. And we can automate the code analysis. We can also integrate SonarQube with Visual Studio Code editor also.

SonarQube had a built-in option to connect with BitBucket, GitHub, Azure DevOps, and GitLab.

So if you want to analyze the code which is developed by you or the developers, then SonarQube is the best tool. The advantage of SonarQube is, we can add custom rules to check the code. By default, SonarQube had more than 2000+ rules. And SonarQube offers us to add our additional rules also.

In this tutorial, you will learn, how to install the SonarQube server on Ubuntu 21 using PostgreSQL. This code in the article compatible with Ubuntu 20 and 18 also. SonarQube supports other databases also.

Let’s see the installation in a step-by-step example. Please follow the instructions carefully. Sometimes we switch to root and normal user. So please ensure you are doing the same. Why because most of the time the problem comes from command execution using different users.

1. Oracle JRE 11 or OpenJDK 11

2. PostgreSQL.

Add a comment

Related posts:

Sexual Experience Before Vaginal Sex

This infographic was created to show that oral sex usually happens before actual vaginal intercourse. For many, oral sex doesn’t count as “actual” sex; however, if people thought it did, people would…

How Well Do You Sleep?

Everybody falls asleep, right? Like eating and drinking, walking and talking, it is probably one of the things we take most for granted until we discover that people have different experiences with…