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
Access to GitHub Packages in the plugin #3769
Comments
jenkinsci-dev mailing list initial discussion for reference: https://groups.google.com/g/jenkinsci-dev/c/aK4_a3zntgU |
Hmm unsure if we would want to take the jar to our artifactory if we aren't hosting the project too. Can't you publish to something like Maven Central or JitPack. You've hit the good reason no one really uses GitHub packages (except Docker) for Open Source libraries: |
For what it's worth, we've seen plugins using jars from the SCM itself and the |
@dduportal Thank you. |
Let us know if my hacki-sh method unblocks you |
At the same time, I'm closing this issue as no more actions are required for the Jenkins infra team. Feel free to reopen if any problem arise. |
Service(s)
ci.jenkins.io, GitHub, plugins.jenkins.io
Summary
We use dependencies that are hosted on GitHub Packages in our plugin.
Access to GitHub Packages works only through a personal access token
Our plugin: https://github.com/jenkinsci/redhat-dependency-analytics-plugin
We would like https://github.com/jenkinsci/redhat-dependency-analytics-plugin/blob/f4b606b8b509795917edc2f2915c6a3322a85e4d/pom.xml#L212-L215 to access https://github.com/RHEcosystemAppEng/exhort-java-api
Can you recommend anything for our case?
We also thought about publishing exhort-java-api to Jenkins Artifactory.
Thank you.
Reproduction steps
No response
The text was updated successfully, but these errors were encountered: