You can add a post-build action to your Jenkins freestyle project that submits your application for Dynamic Analysis.
Before You Begin
- You meet the prerequisites.
- You have installed the Jenkins plugin.
Steps
-
In your Jenkins freestyle project, go to the Post-build Actions section.
-
From the Add post-build action dropdown menu, select Resubmit Veracode Dynamic Analysis.
-
In the Analysis Name field enter the name of a Dynamic Analysis that already exists in the Veracode Platform.
-
Enter the maximum duration, in hours, that you want the analysis to run.
-
Select whether to fail the Jenkins build if the analysis fails.
-
Select whether to use global credentials using your Veracode API credentials. If you select to use global credentials, continue to step 8.
Note: If you select to use global credentials, but have not configured them using the API service account credentials, the build fails. See Configure Global Credentials with Freestyle Builds
-
In the Veracode Credentials section, enter your Veracode API credentials.
-
Click Apply to save your changes.
Next Steps
Continue to Configure a Post-Build Action to Review Dynamic Analysis Results with Freestyle Builds.