Open sr33-multics opened 6 years ago
Hello!
You’re right, it’s not there. I’ll add it in today. Thanks for reporting the issue!
Here is the code.
def call(configFilePath, lv_version){ echo 'Run VI Analyzer tests' bat "labview-cli --kill --lv-ver ${lv_version} \"L:\\run-vi-analyzer.vi\" -- \"${configFilePath}\" \"build_temp\\VIA_results.xml\" \"${WORKSPACE}\"" echo 'Junit' junit allowEmptyResults: true, testResults: "build_temp\\VIA_results.xml" }
Results are inoperable in Junit format, as far as I know. There is another package that I'm tweaking that will get rolled in soon to allow VI Analyzer results to be consumed by the Checkstyle plugin (https://github.com/LabVIEW-DCAF/VIA-Checkstyle).
The end result will look a little different than your comment above.
We had some community discussion on this here: https://forums.ni.com/t5/Continuous-Integration/VI-Analyzer-Results-gt-Checkstyle-Format/gpm-p/3743386 , which led to going the checkstyle route rather than Junit.
runVIAnalyzer.groovy missing from shared library.