Custom Script not working to check SonarQube On-Premise Quality Gate Status from TeamCity On-Premise Deployment Pipeline Build Step


I want to stop the TeamCity On-Premise Deployment Pipeline from executing if the Quality Gate in SonarQube On-Premise has failed. I have tried the custom scripts mentioned in the links: by using Command Line runner in the Build Step in TeamCity On-Premise Deployment Pipeline.

For the custom script mentioned in , error "the term 'jq' is not recognized as the name of a cmdlet" is shown & for the
error "ERR_Count is not internal or external command" is shown.

Please let me know the resolution for these errors.


Please sign in to leave a comment.