Closed fxboga-syfadis closed 3 years ago
OK, I think I've found the bug. I dont't know why (quote hell ?) but when you specify a path exclusion, the generated command line ends immediately and the next parameters are ignored like --format
. Lets see :
C:\windows\system32\cmd.exe /D /S /C "D:\a\_tasks\dependency-check-build-task_47ea1f4a-57ba-414a-b12e-c44f42765e72\6.0.2\dependency-check\bin\dependency-check.bat --project "MyProject" --scan D:\a\1\s\**\*.csproj --out D:\a\1\TestResults\dependency-check --exclude "D:\a\1\s\Dev\Tests"" --format HTML --format JSON --format JUNIT""
When I remove the exclude parameter it works.
Not an issue but an exclude format misunderdtanding
I can't generate the junit xml report in the TestResult folder in order to publish it into the Test tab. The only file generated is the html report even if I specify multiple formats
Here is my pipeline configuration:
but in the output log I see: