The CLM Book - Optimized Component Lifecycle Management with Sonatype CLM

11.7. Policy Actions for Release Repositories

As with CLM and policy, Nexus also has actions specific to the Release feature, and these can be configured to fail, warn or do nothing and are used for releasing or promoting the staging repository.

Once the staging profile is configured with the CLM application identifier any deployment triggers a CLM policy evaluation, which will be visible as Activity for the staging repository. Any rule failures are provided with further information in the detail panel. Figure 11.14, “Staging Repository Activity with a CLM Evaluation Failure and Details” displays a staging repository with CLM rule validations and a failure. The View Full Report buttons links back to the Sonatype CLM Server, which displays the detailed Application Composition Report.

figs/web/clm-staging-repository-failure.png

Figure 11.14. Staging Repository Activity with a CLM Evaluation Failure and Details