GitLabApiClient
GitLabApiClient copied to clipboard
Getting jobs for a runner
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.
I would appreciate this feature as well and I think it makes the most sense to implement it in the RunnersClient
.