-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing information about git branch in cypress dashboard runs for CodeFresh #4609
Comments
We determine CI provider and what env vars are collected into Cypress here, including how we get any git information: https://github.com/cypress-io/cypress/blob/develop/packages/server/lib/util/ci_provider.js Here are CodeFresh's exposed environment variables - they need to be added to the ci_provider.js file just like the others and also have tests written within https://github.com/cypress-io/cypress/blob/develop/packages/server/test/unit/ci_provider_spec.coffee#L1 |
Example project in https://github.com/bahmutov/cypress-codefresh-example Codefresh default environment variables https://codefresh.io/docs/docs/codefresh-yaml/variables/#using-codefresh-variables-in-your-pipelines For example here is a push commit
and here is a pull request commit
|
The code for this is done in cypress-io/cypress#15117, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Much like similar issues, the cypress dashboard isn't getting the git info from the CI runs in CodeFresh:
Help troubleshooting this would be appreciated! Thanks!
The text was updated successfully, but these errors were encountered: