-
Bug
-
Resolution: Unresolved
-
Blocker
-
Linux_20
1、xml files are generated in the WORKSPACE directory. As follows:
cppcheck --enable=all --inconclusive --xml --xml-version=2 "${file_name}" 2>"${WORKSPACE}/cppcheck-result.xml"
2、Call the publishCppcheck plug-in to get the data. As follows:
stage("Push_cppcheck_result") {
steps {
updateGitlabCommitStatus name: 'Jenkins', state: 'running'
publishCppcheck pattern: "cppcheck-result.xml"
}
3、Running result
4、No result file is generated on the primary server