Gitlab 管道因 nx 云问题而陷入困境

问题描述 投票:0回答:1

我从上周开始尝试运行管道。但这并不能正常工作。这里有什么问题吗?上周之前,这条管道运行良好。现在就陷入了这个错误。

 >  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.stack.imgur.com/Xs9Up.png
unit-testing build gitlab-ci node-modules nomachine-nx
1个回答
0
投票

今天早上我刚刚在一个项目的一些管道中遇到了这个问题,我通过在构建命令中添加 --skip-nx-cache 来修复它。该命令最终看起来像这样。

npx nx build my-app --skip-nx-cache

更改后,我再次运行管道并且它起作用了。 我从这个 github 论坛帖子中获得了有关该命令的信息, https://github.com/nrwl/nx/issues/3338

© www.soinside.com 2019 - 2024. All rights reserved.