How to add quality gate stage in Aws code Build

I want to Add Quality gate in aws codebuild pipeline Stage to know the status of the Quality gate. How can I achieve that in Aws CodeBuild.

Hey @sri96 !
We don’t provide any specific support for CodeBuild, so you will have to do everything manually. For the quality gate check, I think you can use the web API. In case you want to fail your pipeline if the Quality Gate is failed, you can use the following parameter : sonar.qualitygate.wait=true (use that carefully).

Hope to help.
Kind regards,

Is there a way I can do with the shell scripting ?

yes, as I said, using calls to our web API. I don’t have specific example to provide :wink: