
RKotturu036214 (Community Member) asked a question.
Here is my Problem.
1.) veracode is integrated with Jenkins and I have designed the jenkins job for static scan, in 6th stage of the jenkins stage.(Total there are 9 stages in jenkin pipeline)
2.) As part of static scan Veracode scans the code and publish the results in jenkins stage six.
3.) Do we have some thing in place like, Based on the scan results the next stages should get executed if the scan result is success. If veracode scan result is failed, entire jenkins job should fail, meaning all the next stage should not get executed.
.png)
Hello @RKotturu036214 (Community Member),
Assuming you're using the Upload and Scan with Veracode Pipeline functionality, you should be able to configure this when generating the code snippet. You would have to use the 'Wait for scan to complete' and 'Fail Job' flags. Please see the following page on the Help Center for more details both with a screenshot, and with a list of script parameters:
Configure Jenkins Pipeline Job for Veracode Scans: https://help.veracode.com/r/t_jenkins_pipe. Please let me know if this answers your question!