Skip to content
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

Can't omit --ci-build-id when running Cypress in Webapp.io #29175

Closed
ianwalter opened this issue Mar 21, 2024 · 2 comments
Closed

Can't omit --ci-build-id when running Cypress in Webapp.io #29175

ianwalter opened this issue Mar 21, 2024 · 2 comments
Labels
CI General issues involving running in a CI provider Cypress Cloud Feature request or issue in Cypress Cloud, not App type: feature New feature that does not currently exist

Comments

@ianwalter
Copy link
Contributor

ianwalter commented Mar 21, 2024

Current behavior

When I omit the --ci-build-id flag from the Cypress command that executes within Webapp.io (formerly LayerCI) I get:

{
  "message": "CI Build ID could not be generated and was not specified.",
  "code": "INDETERMINATE_CI_BUILD_ID"
}

Desired behavior

The command should execute successfully when this flag is omitted since Cypress now supports Webapp.io internally as a CI provider. Omitting the flag will allow the command to be deterministic which will allow us to use Turborepo to not run Cypress when it is not necessary (e.g. only change is an update to README.md).

Test code to reproduce

Our command looks like:

cypress run --spec cypress/e2e/card --record --parallel --group card --config baseUrl=http://localhost:7002 --ci-build-id $LAYERCI_JOB_ID-$RETRY_INDEX

So you could run something similar in Webapp.io and then remove --ci-build-id to see the issue.

Cypress Version

13.6.5

Node version

20.11.0

Operating System

Ubuntu 22.04

Debug Logs

{
  "message": "CI Build ID could not be generated and was not specified.",
  "code": "INDETERMINATE_CI_BUILD_ID"
}
@jennifer-shehane jennifer-shehane added CI General issues involving running in a CI provider type: feature New feature that does not currently exist labels Mar 21, 2024
@jennifer-shehane
Copy link
Member

I've forwarded this request to our Cloud team for consideration.

@jennifer-shehane jennifer-shehane added the Cypress Cloud Feature request or issue in Cypress Cloud, not App label Mar 21, 2024
@ianwalter
Copy link
Contributor Author

I've verified that this works now, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI General issues involving running in a CI provider Cypress Cloud Feature request or issue in Cypress Cloud, not App type: feature New feature that does not currently exist
Projects
None yet
Development

No branches or pull requests

2 participants