2017-03-07 196 views
1

我不明白我該怎麼做才能用Cppcheck配置Jenkins作業,真正的最佳方式是什麼?由nAnt,由Cppcheck插件...?我附上我的配置圖片。不要猶豫,問我要了解更多信息Jenkins - 解析拋出異常。 javax.xml.bind.UnmarshalException

picture

而這是打印錯誤...

C:\Program Files (x86)\Jenkins\workspace\Pruebas_Carlos>[Cppcheck] Starting the cppcheck analysis. 
[Cppcheck] Processing 1 files with the pattern 'cppcheck.xml'. 
[Cppcheck] Parsing throws exceptions. javax.xml.bind.UnmarshalException 
- with linked exception: 
[org.xml.sax.SAXParseException; systemId: file:/C:/Program%20Files%20(x86)/Jenkins/workspace/Pruebas_Carlos/cppcheck.xml; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.] 
Build step 'Publish Cppcheck results' changed build result to FAILURE 
Build step 'Publish Cppcheck results' marked build as failure 
[BFA] Scanning build for known causes... 
[BFA] No failure causes found 
[BFA] Done. 0s 
Finished: FAILURE 

有一些修訂引導哪裏可以得到一些提示有關詹金斯c#& C++ please?非常感謝你

+0

Jenkins文檔可以在這裏找到。 https://wiki.jenkins-ci.org/display/JENKINS/Use+Jenkins還有一個.NET的特定部分 –

回答

0

我真的很抱歉,雖然它可以用於C#...我的錯誤