Member-only story
Jenkins Pipeline SonarQube + Node.js — Learning Jenkins
3 min readAug 16, 2023
INTRODUCTION
In this article, we will create a simple pipeline using Jenkins. Jenkins is a tool used in the CI/CD process. Here, we will try to integrate SonarQube, GitLab, and Jenkins.
SETUP SONARQUBE
To set up the SonarQube server, please refer to the following article.
SETUP JENKINS
- Install the SonarQube Scanner plugin on Jenkins.
- Add the SonarQube server to the Jenkins environment.
- Add GitLab credentials to the Jenkins environment.Install plugins SonarQube Scanner pada jenkins.
CREATE JENKINS PIPELINE
Step 1: Create a New Job
Step 2: Create a Pipeline Script
pipeline{
agent any…