
ALandau878621 (Community Member) asked a question.
Hi,
we are running the scan via jenkins with vosp-api-wrappers-java-22.5.10.0.jar and we want that the scan results will kept in output file in the jenkins job but it doesn't generate that.
we tried to use these parameters without success:
-action detailedreport -buildid 1378207 -format pdf -outputfilepath report.pdf
it is giving some error as: cannot use default profile
any idea what can be the reason?
Thanks in advanced
.png)
Did you create your credential file? Also, you could try supplying your API keys in the arguments with -vid <Veracode API ID> -vkey <Veracode API key>
yes - i am using vid and vkey
Hello @ALandau878621 (Community Member)
The"cannot use default profile" error can be referring to not having access to a specific application, such as role or permission. You could use the Java API wrapper from the command line and run similar commands to verify access and the reports and scans are available to create a detailed report.
Best regards,
Steven
Veracode Support Engineer