2

I need a little (maybe a lot more than a little) direction in combining these two services to work together. I have added the COVERALLS_REPO_TOKEN enviornment variable in the CircleCI settings online. I also have a .coveralls.yml file that has the following:

service_name: circleci
repo_token: the automated generated token

The CircleCI documentation does point this out, but I this leaves me confused. The repo is enabled on Coveralls, but from then on it is not very clear.

Anyone know of a solution?

I have cross-posted this question to the CircleCI Discourse forum.

halfer
  • 19,824
  • 17
  • 99
  • 186
Tony Lancer
  • 149
  • 9

1 Answers1

0

For a java, gradle project that generates code coverage reports using jacoco, along with adding COVERALLS_REPO_TOKEN environment variable, I had to use the gradle coveralls plugin

In CircleCI, I see the below logs after using the gradle plugin:

> Task :coveralls
service name: circleci
service job id: null
repo token: present (not shown for security)
[message:Job #39.1, url:https://coveralls.io/jobs/XXXjobId]

I didn't have to add the .coveralls.yml file

devatherock
  • 2,423
  • 1
  • 8
  • 23