skip to Main Content

Code Coverage is 0% in Sonarqube for Mockito tests – CentOS

I developed some Mockito tests using Jenkins pipeline and will see the report through SonarQube. So far this is what I typed in the Jenkins script: sh ' mvn sonar:sonar -Dsonar.sources=src/main/java -Dsonar.css.node=. -Dsonar.java.binaries=. -Dsonar.host.url=http://192.168.2.2:9000/ -Dsonar.login=admin -Dsonar.password=sonar -Dsonar.jacoco.reportPath=build/reports/jacoco.xml' I've also added…

VIEW QUESTION

Jenkins wont start – CentOS

I am attempting to start and getting the following error root@ip-172-31-80-112 ~]# systemctl start jenkins Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details [root@ip-172-31-80-112 ~]# systemctl status…

VIEW QUESTION

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post inside docker container

I am trying to implement complete CICD pipe line. I am running jenkins/jenkins:2.361.1-lts-jdk11 image on docker. to run the docker image I use docker run -p 8080:8080 -p 50000:50000 -d -v jenkins_home:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock --privileged jenkins/jenkins:2.361.1-lts-jdk11 I have connected to…

VIEW QUESTION
Back To Top
Search