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/
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.
1 answer
Sort by: Most helpful
-
deherman-MSFT 35,636 Reputation points Microsoft Employee
2022-03-15T18:05:22.277+00:00