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

Barik, Monalisa 121 Reputation points

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

    @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:

    0 comments No comments