Configure a Post-Build Action to Review Dynamic Analysis Results with Freestyle Builds

Build and Release Management

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

Steps

  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. See Configure Global Credentials with Freestyle Builds

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

  7. Click Apply to save your changes.

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

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

  10. Under Build History, click a build number.

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

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