Hi,
i want to fetch the job stats for one specifc runner. In my cas it has ID #3. I generated a private access token with my admin account and gave essentially full read access for now. Namingly:
read_api, read_user, read_repository, read_service_ping
I think i only need “read_api” but was unsure so i added the reset. I now try to curl in the current job stats like
curl --header "PRIVATE-TOKEN: $PRIVATE_TOKEN" "$GITLAB_URL/api/v4/runners/$RUNNER_ID/jobs?status=pending"
curl --header "PRIVATE-TOKEN: $PRIVATE_TOKEN" "$GITLAB_URL/api/v4/runners/$RUNNER_ID/jobs?status=running"
curl --header "PRIVATE-TOKEN: $PRIVATE_TOKEN" "$GITLAB_URL/api/v4/runners/$RUNNER_ID/jobs?status=created"
this works for jobs?status=running
but not for pending and created jobs. I made sure there actually are ones to be listed
these are tagged so only runner “3” can/will pick them up. But i still get
[][][]
Anyone an idea why that could be?
Thanks
Detzi