Skip to main content

Posts

Showing posts from February, 2021

Jenkins with sonarqube and nexus

 Jenkins installation on redhat machine installation of java on   yum install wget -y  yum install java-1.8.0-openjdk-devel.x86_64 Jenkins nstallation ----------------------- i.  sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo ii. sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key iii.sudo yum install jenkins iv. service jenkins start  service jenkins status ====================sonarqube setup========== Sonarqube on amazon linux ec2 machine Install docker on amazonlinux ec2 then run below command docker run -d --name sonarqube -e SONAR_ES_BOOTSTRAP_CHECKS_DISABLE=true -p 9000:9000 sonarqube:latest =====Integration of sonarqube and jenkins================================ -----In jenkins we need to install SonarQube Scanner plugin--- Then go to manage jenkins and click on configure system In middle we have SonarQube servers option will be there clcik on Add sonar give name and url http://44.192.26.91:9000 clcik on add we w