Skip to content

Conversation

addersuk
Copy link

@addersuk addersuk commented Feb 25, 2025

Seeing the following error on Semaphore CI for the Codacy reporter

2025-02-24 18:06:15.963+0100  info [CommitUUIDProvider] Can't find or validate commit SHA-1 hash from any supported CI/CD provider.  - (CommitUUIDProvider.scala:97) 00:05
2025-02-24 18:06:15.963+0100  info [CommitUUIDProvider] Trying to get commit SHA-1 hash from local Git directory  - (CommitUUIDProvider.scala:98) 00:05
2025-02-24 18:06:15.964+0100  info [CommitUUIDProvider] 00:05
Commit SHA-1 hash not provided, using latest commit of local Git directory:

Hopefully updating to the correct env var will fix this.
https://docs.semaphoreci.com/reference/env-vars#semaphore-variables

Seeing the following error on Semaphore CI for the Codacy reporter

```2025-02-24 18:06:15.963+0100  info [CommitUUIDProvider] Can't find or validate commit SHA-1 hash from any supported CI/CD provider.  - (CommitUUIDProvider.scala:97) 00:05
2025-02-24 18:06:15.963+0100  info [CommitUUIDProvider] Trying to get commit SHA-1 hash from local Git directory  - (CommitUUIDProvider.scala:98) 00:05
2025-02-24 18:06:15.964+0100  info [CommitUUIDProvider] 00:05
Commit SHA-1 hash not provided, using latest commit of local Git directory:```

Hopefully updating to the correct env var will fix this.
@DMarinhoCodacy
Copy link
Contributor

Hello @addersuk
Thanks for reaching out and suggesting a fix for this issue! We appreciate that!
Unfortunately, due to some issues within our pipeline, this specific PR is failing, so I opened another one and mentioned you (#523) with the same fix so everyone can know it was made by you - and sorry for this approach.
Kind regards,
David Marinho

@addersuk addersuk closed this Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants