Comments (1)
@derekherman I'm having the same issue using Travis-Pro. It's getting a commit hash that doesn't even exist in our repository. Where $TRAVIS_COMMIT
is 50e440c5e3ec182607cb71370173cd884f33bc2a
the response from coveralls is:
Bad response: 422 {"message":"The commit 0023214bdfc259bef2a8e00444f77fa60825a5ba wasn't found on the repo OrgName/RepoNameThe commit 0023214bdfc259bef2a8e00444f77fa60825a5ba wasn't found on the repo OrgName/RepoName","error":true}
As you can see the commit hash is wrong, is not even in our repo:
$ git show 0023214bdfc259bef2a8e00444f77fa60825a5ba
fatal: bad object 0023214bdfc259bef2a8e00444f77fa60825a5ba
The above config includes $COVERALLS_REPO_TOKEN
environment variable being sent to travis. If I remove $COVERALLS_REPO_TOKEN
, I get this:
Bad response: 422 {"message":"Couldn't find a repository matching this job.","error":true}
Even though the docs say this will work out of the box without it. I suppose it hasn't been tested for Travis-PRO or maybe something in Travis PRO has changed since the code was written.
I've submitted a PR that would definitely fix this. Instead of passing "HEAD", pass the actual $TRAVIS_COMMIT
env var which will always exist in every travis build (pro/free).
Pull request here: #272
Someone please merge this and release!
from node-coveralls.
Related Issues (20)
- Missing git tags HOT 2
- Update sinon HOT 3
- error: `Couldn't find a repository matching this job.` for coverage output sent from within docker container run on Travis-CI HOT 1
- "Couldn't find a repository matching this job." - CircleCI + nyc + mocha HOT 5
- Update minimist dependency to 1.2.2 to fix security issues HOT 1
- Not a valid object name error when upgrading from v3.0.9 to v3.0.11 HOT 5
- Fail Builds on Coverage Drop in an unsupported CI
- Stop using `fs` `*Sync` methods HOT 2
- Jenkins error - fatal: Not a valid object name HOT 2
- Feature request: ability to convert .info file to coveralls format without uploading HOT 2
- Replace deprecated request HOT 4
- Error in `expectRevert` when used with Coveralls code coverage
- [SUPPORT REQUEST] Add support for generic Github Actions implementation HOT 1
- Missing or non working git_messages for Jenkins HOT 1
- CircleCI build displays the workflow id in coveralls rather than the build num HOT 2
- Sudo: npm: command not found
- Security issue `json-schema` HOT 4
- update minimist to >=1.2.6 due to critical vulnerability
- Is this repo not maintained anymore? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-coveralls.