GitLabApiClient icon indicating copy to clipboard operation
GitLabApiClient copied to clipboard

Getting jobs for a runner

Open sandercox opened this issue 4 years ago • 1 comments

Trying to build a runner monitor tool to see what jobs my runners are running and if they are running etc- some basic health for our CI/CD

Just added some methods to fetch runners for a group. But wondering on where to add the code to get jobs from a runner.

I could add GetJobsAsync(int runnerId) in the RunnersClient or should I make a new Jobs client to do this? Not sure what the preferred concept is to do this.

sandercox avatar Jun 12 '20 19:06 sandercox

I would appreciate this feature as well and I think it makes the most sense to implement it in the RunnersClient.

Doome161 avatar Dec 12 '20 20:12 Doome161