Gitlab----Gitlab-runner reported ERROR: Job failed: execution took longer than 1h0m0s seconds error solution

[Original link] Gitlab----Gitlab-runner reported ERROR: Job failed: execution took longer than 1h0m0s seconds error solution

question

When Gitlab-runner executes the pipeline task, the ERROR: Job failed: execution took longer than 1h0m0s seconds error is displayed on the gitlab console

Cause Analysis

The reason for this problem is that the execution time of the pipeline task is too long, and the timeout period set for the pipeline on gitlab is 1 hour

Solution

At this point, you only need to set the timeout time of the pipeline on Gitlab, refer to the following steps to set

(1) Open [Setting] - [CICD] - [General Pipelines]

(2) Then modify the timeout period, for example, set it to 1 day

(3) Then execute it again and it will be OK

Guess you like

Origin blog.csdn.net/redrose2100/article/details/130613396