I have tried run pipeline from last one week. But this is not working fine. Is there any issues here? Before last week this pipeline is working perfectly. Now this is stuck with this error.
> NX Took longer than 3 seconds to hear from heartbeat process
The heartbeat process may have not started properly. This CIPE could have inconsistent status reporting.
> NX Nx Cloud: Workspace is disabled
This Nx Cloud organization has been disabled due to exceeding the FREE plan.
An organization admin can start a free PRO plan trial for up to two months with no billing required at https://cloud.nx.app/orgs/63c038302fe9b1000ec9a7d0/plans
Uploading artifacts for failed job
00:01
Uploading artifacts...
WARNING: /builds/pipeline/qa-alps/coverage/**/**/cobertura-coverage.xml: no matching files. Ensure that the artifact path is relative to the working directory (/builds/pipeline/qa-alps/) ```
[![pipeline-issue][1]][1]
[1]: https://i.sstatic.net/Xs9Up.png
I ran into this same problem. The recommended solution is:
--no-cloud
CLI flag; orNX_NO_CLOUD=true
environment variablenx.json
:nx-cloud
:accessToken
and url
(if present){
"tasksRunnerOptions": {
"default": {
- "runner": "nx-cloud",
+ "runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": ["build", "lint", "test", "e2e"],
- "accessToken": "your-token",
- "url": "your-url"
}
}
}
}
I just ran into this issue this morning with some pipelines for a project, I fixed it by adding, --skip-nx-cache in the build command. The command looked like this in the end.
npx nx build my-app --skip-nx-cache
After the change I ran the pipeline again and it worked. I got info about the command from this github forum post, https://github.com/nrwl/nx/issues/3338
I also added neverConnectToCloud to my nx.json file to disable connecting to the nx cloud.
I just added that to the object at the bottom of the object.
{
"neverConnectToCloud": true,
}
https://nx.dev/ci/reference/config
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With