Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
- how is SonarQube deployed: zip, Docker, Helm
- what are you trying to achieve
- what have you tried so far to achieve this
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!
Started by user Pratham Baliyan
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in C:\ProgramData\Jenkins\.jenkins\workspace\SonarSingleTest
[Pipeline] {
[Pipeline] tool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Git Checkout)
[Pipeline] checkout
The recommended git tool is: NONE
No credentials specified
E:\Program Files\Git\bin\git.exe rev-parse --resolve-git-dir C:\ProgramData\Jenkins\.jenkins\workspace\SonarSingleTest\.git # timeout=10
Fetching changes from the remote Git repository
E:\Program Files\Git\bin\git.exe config remote.origin.url https://github.com/PrathamBaliyan/Test-Linux.git # timeout=10
Fetching upstream changes from https://github.com/PrathamBaliyan/Test-Linux.git
E:\Program Files\Git\bin\git.exe --version # timeout=10
git --version # 'git version 2.45.2.windows.1'
E:\Program Files\Git\bin\git.exe fetch --tags --force --progress -- https://github.com/PrathamBaliyan/Test-Linux.git +refs/heads/*:refs/remotes/origin/* # timeout=10
E:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/main^{commit}" # timeout=10
Checking out Revision 7f9f0ecfa4dc1613728ca4c3d9cad44b63234ec8 (refs/remotes/origin/main)
E:\Program Files\Git\bin\git.exe config core.sparsecheckout # timeout=10
E:\Program Files\Git\bin\git.exe checkout -f 7f9f0ecfa4dc1613728ca4c3d9cad44b63234ec8 # timeout=10
Commit message: "test"
E:\Program Files\Git\bin\git.exe rev-list --no-walk 7f9f0ecfa4dc1613728ca4c3d9cad44b63234ec8 # timeout=10
[Pipeline] echo
Checkout Completed
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (SonarQube Analysis)
[Pipeline] withSonarQubeEnv
Injecting SonarQube environment variables using the configuration: Jenkins_Token
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of %SONAR_AUTH_TOKEN%
[Pipeline] {
[Pipeline] bat
C:\ProgramData\Jenkins\.jenkins\workspace\SonarSingleTest>"E:\ProgramFiles\sonar-scanner-6.1.0.4477-windows-x64\bin\sonar-scanner.bat" -Dsonar.projectKey=SonarTesting -Dsonar.projectName=SonarTesting -Dsonar.host.url=http://localhost:9000 -Dsonar.login=**** -Dsonar.projectVersion=1.0
The system cannot find the path specified.
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
C:\ProgramData\Jenkins\.jenkins\workspace\SonarSingleTest@tmp\jfrog\27\.jfrog deleted
Finished: FAILURE