Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
- what are you trying to achieve
- what have you tried so far to achieve this
Hi,
I am trying to intigrate sonaqube with jenkins. When I build my project I see the following error.
INFO: Load/download plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=40ms
INFO: Load/download plugins (done) | time=129ms
INFO: Process project properties
ERROR: Invalid value of sonar.sources for AngularApp
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 7.148s
INFO: Final Memory: 5M/27M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarScanner execution
ERROR: The folder 'var/Jenkins/.jenkins/workspace/AngularApp' does not exist for 'AngularApp' (base directory = C:\ProgramData\Jenkins\.jenkins\workspace\AngularApp)
ERROR:
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
ERROR: SonarQube scanner exited with non-zero code: 1
Finished: FAILURE
This is the picture of my build scaner in jenkins.
My Path is correct I just not sure why I use var as in my derictory its C:/programdeata… and so on.
Please help me to fidn out the issu.