used to help automate scanning applications during the development cycle
you can install globally to use it in the jenkins execute node script plugin
npm install -g veracode-api
veracode_api \\path\\to\\zip app_name scantype:[prescan,scan]
this tool needs credentials to access the api. It uses 3 environment variables 'VERACODEUSER', 'VERACODEPSWD' and 'DEBUG'. Makesure whatever username you are using has developer access. Without the DEBUG variable set you will not see any output to standard out. Refer to the node debug module for setting this environment variable.
DEBUG=main
or debug turned on for everything
DEBUG=*
example prescan:
veracode_api C:\Users\kmorfin\test "test app" prescan
example scan:
veracode_api C:\Users\kmorfin\test "test app" scan