We want to pipeline should fail when Run checkstyle and Run PMD fails in Azure Devops pipeline stage

Barik, Monalisa 121 Reputation points
2022-03-15T06:53:44.667+00:00

We have enabled Run checkstyle and Run PMD section in our Azure Devops pipeline.We have the requirement that when number errors in checkstyle report is more than zero the pipeline should fail and also when there is any suggestions in PMD report then the pipeline should fail.

Kindly guide us how to configure the above condition in pipeline.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,527 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 34,026 Reputation points Microsoft Employee
    2022-03-15T18:05:22.277+00:00

    @Barik, Monalisa

    Azure Devops is not currently supported here on Microsoft QnA.
    The Community Members and Engineers are actively answering questions in dedicated forums here. Please post your question in that forum:
    https://developercommunity.visualstudio.com/spaces/21/index.html
    https://azure.microsoft.com/en-in/support/devops/

    0 comments No comments