How do I use this plugin to record and show C/C++ Warnings/Errors from GCC?
There is two tools available GNU C Compiler (gcc3) and GNU C Compiler (gcc4), but are those for C? We are using a much newer version of GCC. Otherwise I could only find these for C++ recordIssues(tools: [cppCheck()]) recordIssues(tools: [cppLint()]) Neither found no warnings, but there where plenty of warnings when running GCC. [50/107] Building CXX object src/CMakeFiles/some.dir/thing/file.cpp.o src/thing/file.cpp: In member function ‘std::__cxx11::string file::method(const string&, const string&)’: src/thing/file.cpp:141:31: warning: unused variable ‘id’ [-Wunused-variable] for (const auto & [ id, m ] : _id_to_var) I tried with the gcc4, and it spewed out some errors with stacktrace in the recording. Looks like it tried to run some git commands, and I do not have a git repository at hand, just a stashed archive. However it seems at least it did find some Warnings. The warning above was detected by gcc4. Is there any way I can stop it from accessing Git when it is trying to record? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/db195bc3-2907-4dee-8a4b-a9a1bf2c6734%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
