
SHuang932129 (Community Member) asked a question.
Hello,
I'm new to veracode and need to integrate veracode into jenkins. my jenkins admin told me he "could have configured the credentials in job if it was a freestyle job but for pipeline job the same has to be configured in script", so I have to hardcode the vid and vkey in jenkinsfile as below. but it doesn't work, I got error says vuser and vpasseword is required. Could someone help to show me the right way? thanks a lot!
and here is the jenkins build error log:
Thanks.
.png)
Hello SHuang932129,
Thank you for reaching out to the Community!
If you review the link below on "Configure Jenkins Pipeline job for Veracode Scan". In this link there is a field in the Snippet Generator page that allows you to include your credentials.
https://help.veracode.com/r/t_jenkins_pipe
This should take care of the Parsing Error.
Let me know if you should need any further assistance.
Best Regards,
Steven
Thank you Steve,
I've forwarded this to my jenkins admin for reference. Will update here when get progress.
Thanks,
Sam