Skip to main content

Configure a post-build action to review Dynamic Analysis results with freestyle builds

You can add a post-build action to your Jenkins freestyle project to get scan results from a Dynamic Analysis of your application.

Before you begin:

To complete this task:

  1. In your Jenkins freestyle project, go to the Post-build Actions section.

  2. From the Add post-build action dropdown menu, select Review Veracode Dynamic Analysis Results.

  3. Enter the number of hours to wait for analysis results to be available.

  4. Select whether to fail the Jenkins build if the analysis violates a Veracode policy.

  5. Select whether to use global Veracode API credentials. If you select to use global credentials, continue to step 7.

    note

    If you select to use global credentials, but have not configured them using the API service account credentials, the build fails.

  6. In the Veracode Credentials section, enter your Veracode API credentials.

  7. Select Apply to save your changes.

  8. Go back to the main page of your freestyle project.

  9. Select Build Now and wait for the build and analysis to complete successfully.

  10. Under Build History, select a build number.

  11. Select Veracode Dynamic Analysis to review the results of the analysis.

In the results, you can select the View Executive Summary link to view additional information in the Veracode Platform.