Gitlab CI job fails after commit but successful when manual
Describe your question in as much detail as possible:
-
I have a CI job that builds static written on npm. When I commit the pipeline triggers and the job starts.
-
The problem is that it fails sometimes and sometimes not. The interesting fact is that it fails in different places. The failure does not depend on language as I guess.
-
Another thing is that when I trigger pipeline manually (using run pipeline button), it always success, I have not seen any problem. It fails only when commit.
-
- GitLab (Hint:
/help
): 14.1.0 - Runner (Hint:
/admin/runners
): 14.1.0
- GitLab (Hint:
-
I have not found any information about that problem. I tried to monitor CPU load during job running but did not notice any difference between running after commit and after manual trigger*
Maybe someone have faced such problem and have any idea how to fix it. Thanks in advance!