question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No Branch or Commit for Semaphore CI

See original GitHub issue

When I let Codecov detect my CI (Semaphore), I get the following output:

  | v3.5.0
  | ==> Configuration:
  | Endpoint: https://codecov.io
  | { commit: undefined, branch: undefined, package: 'node-v3.5.0' }
  | ==> Building file structure
  | ==> Generating gcov reports (skip via --disable=gcov)
  | $ find /home/semaphore/talc -type f -name '*.gcno'  -exec gcov  {} +
  | ==> Scanning for reports
  | + /home/semaphore/talc/coverage.lcov
  | ==> Uploading reports
  | HTTP 400
  | missing required properties: ['commit']
  |  
  | exit code: 0 duration: 5s

But if I disable detection & manually use those the env vars that are used in https://github.com/codecov/codecov-node/blob/master/lib/services/semaphore.js, it succeeds.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
matteocontrinicommented, Aug 27, 2019

Is there an estimated timeframe for a release that includes that commit? Thanks

1reaction
fabiendemcommented, Sep 10, 2019

Meanwhile I am refering to the specific commit (https://github.com/codecov/codecov-node/commit/6167aa8e3138079de445d562f92511ca2bacc3b6) rather than the version 3.5.0 in my package.json:

{
  "name": "myapp",
  ....
  "devDependencies": {
		...
	    "codecov": "https://github.com/codecov/codecov-node.git#6167aa8e3138079de445d562f92511ca2bacc3b6",
		...
	},
	...
}

Does the job.

Read more comments on GitHub >

github_iconTop Results From Across the Web

When Conditions - Semaphore 2.0 Documentation
On other (non-master) branches, the examined commit range is wider and all the commits between the head of the current branch and the...
Read more >
Provide troubleshooting tips for sem init · Issue #180 - GitHub
Currently, Semaphore is "mirroring" permission rights from GitHub which means that a user will have the same level of permission on Semaphore 2.0...
Read more >
Semaphore CI: Push Back to Git - Stack Overflow
I want to build a Semaphore CI pipeline that checks out my branch, builds some artifacts and pushes these to another branch.
Read more >
Building Automated Testing Pipeline With Semaphore CI And ...
In this blog, we will see how to build an automated testing pipeline with Semaphore CI and cloud Selenium Grid.
Read more >
ci@1.3.0 | Deno
For builds triggered when a Pull Request is opened/updated, Semaphore doesn't provide an environment variable indicating the target branch. Therefore in the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found