Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Credential artifact-caching-proxy-credentials unavailable on ci.jenkins.io #4340

Closed
daniel-beck opened this issue Oct 12, 2024 · 1 comment · Fixed by jenkins-infra/backend-extension-indexer#96

Comments

@daniel-beck
Copy link

Service(s)

Artifact-caching-proxy, ci.jenkins.io

Summary

jenkins-infra/backend-extension-indexer#95 fails CI at https://ci.jenkins.io/job/Infra/job/backend-extension-indexer/job/PR-95/1/console with the error

12:18:01  ERROR: Could not find credentials entry with ID 'artifact-caching-proxy-credentials'

This was added to the Jenkinsfile in jenkins-infra/backend-extension-indexer#48.

I'm filing this issue here because it's unclear to me which component is at fault and what the fix should be.

Reproduction steps

No response

@dduportal
Copy link
Contributor

(quick answer for the weekend: we'll look in details during the week if need be)

@daniel-beck I'm not sure why is the pipeline not using the infra.withArtifactCachingProxy() function (ref. https://github.com/jenkins-infra/pipeline-library/blob/39c35b87db6234671cd995cc9fa3e6dee71b2416/vars/infra.groovy#L163) to be honest.

But you can safely remove the credential as it is not used anymore from the pipeline directly as the proxy is only private: we removed the credential.

It might need further adaptation: maybe using the pipeline library function would be simpler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants