OtherDevOpsGene / zap-sonar-plugin

Integrates OWASP Zed Attack Proxy reports into SonarQube
GNU General Public License v3.0
69 stars 31 forks source link

Error after update Sonarqube to 7.9 LTS version #47

Closed marcosfriasraet closed 4 years ago

marcosfriasraet commented 5 years ago

Hi. I was using the plugin perfectly for the last year but after update Sonarqube i get this error in the SQ pre-analisys: "Path must be a string.Received undefinded":

019-08-30T16:00:24.6116000Z ##[debug]Build.SourceBranch=undefined 2019-08-30T16:00:24.6118264Z ##[debug][SQ] Branch and PR parameters: {} 2019-08-30T16:00:24.6122259Z ##[debug]extraProperties=# Additional properties that will be passed to the scanner,

Put one key=value per line, example:

sonar.exclusions=*/.bin

sonar.zaproxy.reportPath=E:\Agents\4_work\r276\a\OWASP-ZAP-Report-1972.xml 2019-08-30T16:00:24.6132186Z ##[debug]Agent.TempDirectory=E:\Agents\4_work_temp 2019-08-30T16:00:24.6132382Z ##[debug]Build.BuildNumber=undefined 2019-08-30T16:00:24.6155469Z ##[debug]task result: Failed 2019-08-30T16:00:24.6214218Z ##[error]Path must be a string. Received undefined

Maybe you can help me with to know the cause it failing.

OtherDevOpsGene commented 4 years ago

This should be resolved by updating to 2.0.0