Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cathive/concourse-sonarqube-qualitygate-task
- Owner: cathive
- Created: 2017-10-18T07:29:19.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-03T13:42:29.000Z (almost 7 years ago)
- Last Synced: 2024-07-30T17:46:29.774Z (5 months ago)
- Topics: code-quality, concourse-ci, sonarqube, static-code-analysis
- Language: JavaScript
- Size: 31.3 KB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```