Closed guilgaly closed 7 years ago
@mrfyda can you have a look at this please?
Travis logs visible at https://travis-ci.org/guilgaly/itunes-dap-sync
Sorry for the delay in the answer. This kind of got lost in the backlog. We are looking at this now and should have an answer soon.
For future bugs I recommend you to drop up an email at support at codacy dot com
or use the in app support.
We just released version 1.3.8
it should propagate to the servers soon.
If you want you can add the repo by hand to test faster: https://oss.sonatype.org/content/repositories/releases
Let us know if you still experience the issues after the update so we can re-open.
I just updated to version 1.3.8, and it does seem to work fine. Thanks!
Cross-reference: I also asked a question on stackoverflow.
I have set up a Scala/SBT project with Travis CI and Codacy integration. The sources are visible at https://github.com/guilgaly/itunes-dap-sync.
I wanted to be able to view a code coverage report in Codacy, so I added the following SBT plugins:
And I was able to upload coverage data to Codacy with the following commands, on my computer:
To automatically upload coverage data from the Travis CI build, I set up the CODACY_PROJECT_TOKEN environment variable for the project, and used the following .travis.yml configuration:
But in the Travis CI build log, I see that codacyCoverage fails, with
java.lang.RuntimeException: Failed to upload data. Reason: Request handler not found: /2.0/coverage//scala
:It seems that the URL
/2.0/coverage//scala
is missing the commitUuid part. However, judging from the sbt-codacy-coverage code, Travis'TRAVIS_COMMIT
env variable should be picked up for that. I addedecho "TRAVIS_COMMIT $TRAVIS_COMMIT"
to myafter_success
script, and it does print the commit's hash.Any idea what might cause this issue?