Configure a post-build action to resubmit Dynamic Analysis with freestyle builds
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.
To complete this task:
-
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.
noteIf you select to use global credentials, but have not configured them using the API service account credentials, the build fails.
-
In the Veracode Credentials section, enter your Veracode API credentials.
-
Select Apply to save your changes.
Next steps:
Continue to Configure a post-build action to review Dynamic Analysis results with freestyle builds.