We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to use it to fail the build pipeline, for instance let's say the "quality".
The text was updated successfully, but these errors were encountered:
I found Score at the text format (it's absent from json format) and then I use gnu/linux:
Score
# if the score is lower than 65 it's going to return 1 otherwise it'll return 0 goreporter -p . -f text | grep Score | awk -F':' '$2 < 65 {print; err = 1} END {exit err}'
Is there any easier way?
Sorry, something went wrong.
There are:
Quality and Score, what's the difference?
Does the score follows the rule:
// +--------------------------------------------------+ // | issues | score | // +==================================================+ // | 5 | 100-issues*2 | // +--------------------------------------------------+ // | [5,10) | 100 - 10 - (issues-5)*4 | // +--------------------------------------------------+ // | [10,20) | 100 - 10 - 20 - (issues-10)*5 | // +--------------------------------------------------+ // | [20,40) | 100 - 10 - 20 - 50 - (issues-20)*1 | // +--------------------------------------------------+ // | [40,*) | 0 | // +--------------------------------------------------+
No branches or pull requests
I want to use it to fail the build pipeline, for instance let's say the "quality".
The text was updated successfully, but these errors were encountered: