Codacy

This plugin can upload coverage reports to Codacy, currently it’s limited to Golang coverage reports. The below pipeline configuration demonstrates simple usage:

kind: pipeline
name: default

steps:
- name: codacy
  image: plugins/codacy
  settings:
    token: your-codacy-token

Override the default pattern:

steps:
- name: codacy
  image: plugins/codacy
  settings:
    token: my-codacy-token
    pattern: pkg/foo/bar/*.out

Example configuration using secrets:

steps:
- name: codacy
  image: plugins/codacy
  settings:
    token:
      from_secret: my_codacy_token

Parameter Reference

token
Token for Codacy authentication
pattern
Coverage search pattern, defaults to **/*.out