Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run VI Analyzer missing in shared library #43

Open
sr33-multics opened this issue Feb 16, 2018 · 4 comments
Open

Run VI Analyzer missing in shared library #43

sr33-multics opened this issue Feb 16, 2018 · 4 comments

Comments

@sr33-multics
Copy link

runVIAnalyzer.groovy missing from shared library.

@pollockm
Copy link
Contributor

Hello!

You’re right, it’s not there. I’ll add it in today. Thanks for reporting the issue!

@sr33-multics
Copy link
Author

sr33-multics commented Feb 16, 2018

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" }

@pollockm
Copy link
Contributor

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.

@pollockm
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants