Checkmarx scan through commandline is throwing errors

会有一股神秘感。 提交于 2020-03-05 04:59:05

问题


I am using the below command line to start the Checkmarx scan.

 runCxConsole Scan -v -CxServer "http://IP"  -projectName "test\Project" -CxUser "domain\username" -CxPassword "password" -Locationtype "TFS" LocationPath "$/TFSRepo/test/Main" -LocationURL "http://tfs.domain.test:8080/tfs" -LocationUser "username@domain.com" -LocationPassword "pasword" -preset "Testpreset"

Unfortunately, it is not working and I am getting the below error

 [2020-02-13 11:47:06,901 INFO ] Verbose mode is activated. All messages and events will be sent to 
 the console or log file.
 [2020-02-13 11:47:06,901 INFO ] CxConsole version 8.90.2
 [2020-02-13 11:47:06,917 INFO ] CxConsole scan session started
 [2020-02-13 11:47:06,917 INFO ]
 [2020-02-13 11:47:06,917 INFO ] Default configuration file location: C:\CxConsolePlugin- 
 8.90.2\CxConsolePlugin-8.90.2\config\cx_console.properties
 [2020-02-13 11:47:07,495 FATAL] java.lang.ExceptionInInitializerError: Unable to parse due to 
 missing or incorrect parameters. Recheck the provided parameters and try again.
 [2020-02-13 11:47:07,495 ERROR] Failure - General error occurred - error code 1

来源:https://stackoverflow.com/questions/60207378/checkmarx-scan-through-commandline-is-throwing-errors

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!