Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cathive/concourse-sonarqube-qualitygate-task

A task for Concourse CI to be used in conjunction with the concourse-sonarqube-resource to break builds if the criteria of a quality gate cannot be met
https://github.com/cathive/concourse-sonarqube-qualitygate-task

code-quality concourse-ci sonarqube static-code-analysis

Last synced: about 2 months ago
JSON representation

A task for Concourse CI to be used in conjunction with the concourse-sonarqube-resource to break builds if the criteria of a quality gate cannot be met

Awesome Lists containing this project

README

        

# SonarQube quality gate checks for Concourse CI

This repository contains a task that can be used in conjunction with the [concourse-sonarqube-resource](https://github.com/cathive/concourse-sonarqube-resource) to check if a quality gate has been met by the Sonar Analysis or not.

# Task usage
The task can be used in your CI pipeline to break your build if the goals
of your SonarQube quality gates have not been met.

```yaml
- task: check-sonarqube-quality-gate
config:
platform: linux
image_resource:
type: docker-image
source:
repository: cathive/concourse-sonarqube-qualitygate-task
tag: latest # Use one of the versioned tags for reproducible builds!
inputs:
- name: sonar-result
run:
path: /sonarqube-qualitygate-check
dir: sonar-result
```