-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Artifactory permission issue since plugin-modernizer-tool
was moved to jenkins-infra
#4443
Comments
FYI @gounthar |
The error is:
|
I've added jenkins-infra-bot as an admin on https://github.com/jenkins-infra/plugin-modernizer-tool. I think that might sort it. The account is an owner on Jenkinsci but not on jenkins-infra |
Thanks, Tim! 👍 |
Thanks, I will wait a while to have the token created (since we move the repo we also lost access to credential section of the repo) |
restored |
Thanks but seems I still got 401 |
Hmm different error now, 403: https://github.com/jenkins-infra/plugin-modernizer-tool/actions/runs/12214126072/job/34074515556 |
Mhh that's weird |
Could be related to https://github.com/jenkins-infra/repository-permissions-updater/pull/4127/files#diff-fc4047510f5e367e5511180a4da22064a9664ba4e829e36604125741cccb2bcb ? We didn't perform a release since this PR |
yeah its probably that, I've been trying to debug it locally to generate the json files but I can't get the tool to run on my machine:
It runs on CI but for some reason the CD files aren't being generated there and archived: https://ci.jenkins.io/job/Infra/job/repository-permissions-updater/job/master/31402/artifact/json/ |
Should we try to rollback the RPU to check if it works ? paths:
- - "io/jenkins/plugin-modernizer/plugin-modernizer-parent-pom"
- - "io/jenkins/plugin-modernizer/plugin-modernizer-cli"
- - "io/jenkins/plugin-modernizer/plugin-modernizer-core"
+ - "io/jenkins/plugin-modernizer/plugin-modernizer-*" |
yes I think you'll need to re-add the deleted files too |
Well... jenkins-infra/repository-permissions-updater#4222 Will see |
Watching the build on trusted.ci for you folks |
For the moment it didn't make any change : https://github.com/jenkins-infra/plugin-modernizer-tool/actions/runs/12254160825/job/34184491992 Still 403 |
The build(s) just finished with success. Currently checking logs |
I got the following logs:
|
Now it works. I saw some token were generated more recently https://github.com/jenkins-infra/plugin-modernizer-tool/releases/tag/911.v211a_1d5a_7a_a_f https://github.com/jenkins-infra/plugin-modernizer-tool/actions/runs/12254938546 |
Looks like we can close this issue @jonesbusy ? |
Sure |
Service(s)
Artifactory
Summary
Hi,
Since we move the repo to the
jenkins-infra
org we cannot use anymore thecd
workflow because we lost permission to Artifactoryhttps://github.com/jenkins-infra/plugin-modernizer-tool/actions/runs/12213040105/job/34072201325
I guess the RPU ignore this repo so we probably need other credentials
I'm not sure if we have other maven repo on
jenkins-infra
that publish artifact to Artifactory, but can we add those secret to the repo ? (MAVEN_TOKEN and MAVEN_USERNAME)FYI we started to work on the JReleaser to publish the tap. The idea I had in my is
cd
workflow to create the release, publish to Artifactory (only the core dependency since Don't distribute the CLI artifacts (like the far jar) to Artifactory plugin-modernizer-tool#412. The CLI is a fat jar of ~100Mib)But right now I'm stuck to use the
cd
workflow :(Thank you help ?
Regards,
Reproduction steps
No response
The text was updated successfully, but these errors were encountered: