Skip to content
Open

Dev #13

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sonarqube/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pipeline{
agent any
environment {
PATH = "$PATH:/opt/apache-maven-3.8.2/bin"
PATH = "$PATH:/usr/share/maven"
}
stages{
stage('GetCode'){
Expand All @@ -18,7 +18,7 @@ pipeline{
// def scannerHome = tool 'SonarScanner 4.0';
steps{
withSonarQubeEnv('sonarqube-8.9') {
// If you have configured more than one global server connection, you can specify its name
// If you have configured mroe than one global server connection, you can specify its name.
// sh "${scannerHome}/bin/sonar-scanner"
sh "mvn sonar:sonar"
}
Expand Down
5 changes: 5 additions & 0 deletions sonarqube/Setup_SonarQube.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ Source: https://docs.sonarqube.org/latest/requirements/requirements/
```bash
http://<Public-IP>:9000
```
4. login sonarqube with below username and password.

username : admin

pwd :admin

## 🧹 CleanUp
1. Stop SonarQube server
```sh
Expand Down