I have a bitbucket pipeline configured which executes unit test cases and the coverage report gets successfully fetched to sonarqube.
I have configured the quality gate to fail if coverage is less that 75%. Currently I am getting 73%.
I want the pipeline to fail if the quality gate in not passed
Here is my bitbucket-pipeline.yml for qaulity gate
- pipe: sonarsource/sonarcloud-scan:1.2.1**
variables:
EXTRA_ARGS: '-Dsonar.login=$SONAR_LOGIN -Dsonar.password=SONAR_PASSWORD' - pipe: sonarsource/sonarcloud-quality-gate:0.1.4 variables: SONAR_TOKEN: {SONAR_TOKEN}
