Clean up pending builds running from integrations

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Description

It is the responsibility of the integration (such as Jenkins) to report the build status back to GitLab through the API. If the connection is broken between GitLab and the third party server, the jobs will stay in a Pending state in GitLab indefinitely. We could use a process to cancel these jobs in GitLab when they have been running for longer than 1 day.

Links / references

Customer ticket -> https://gitlab.zendesk.com/agent/tickets/92911

Edited Aug 28, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading