Fix pipelines failed 290268296

See https://gitlab.com/gitlab-jh/gitlab/-/pipelines/290268296

It seems that these three pipeline errors are the same one reason

No API token given.
scripts/api/get_job_id.rb:53:in `find_job_with_artifact': Job not found! (RuntimeError)

I am not clear about the meaning of the script, so I don't know how to fix this, can you help see it? @godfat-gitlab

The last one pipeline error is

Caused by:
GRPC::Internal: 13:CreateRepositoryFromURL: clone cmd wait: fatal: unable to access 'https://gitlab.com/gitlab-org/gitlab-snippet-test.git/': The requested URL returned error: 502

I suppose this is a network problem, so it will work after rerun this, right?

/cc @qianzhangxa