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

github CD process fails with 401 Unauthorized when deploying to https://repo.jenkins-ci.org/releases #3966

Closed
mawinter69 opened this issue Feb 29, 2024 · 4 comments
Assignees
Labels

Comments

@mawinter69
Copy link

Service(s)

GitHub

Summary

I'm trying to release a new version of roles-strategy via the github action based CD.
But the action fails to deploy the artifacts:

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on project role-strategy: Failed to deploy artifacts: Could not transfer artifact org.jenkins-ci.plugins:role-strategy:pom:711.vf33a_d2c994b_a_ from/to maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): authentication failed for https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/role-strategy/711.vf33a_d2c994b_a_/role-strategy-711.vf33a_d2c994b_a_.pom, status: 401 Unauthorized

https://github.com/jenkinsci/role-strategy-plugin/actions/runs/8100699901

I can see in settings -> Secrets and Variables -> Action that MAVEN_USERNAME and MAVEN_TOKEN have been updated a few hours ago.

Reproduction steps

No response

@mawinter69 mawinter69 added the triage Incoming issues that need review label Feb 29, 2024
@mawinter69 mawinter69 changed the title CD process fails with 401 Unauthorized when deploying to https://repo.jenkins-ci.org/releases github CD process fails with 401 Unauthorized when deploying to https://repo.jenkins-ci.org/releases Feb 29, 2024
@lemeurherve
Copy link
Member

The last repository permission updater job build failed but a new one is in progress, I'll check back when it's finished.

@lemeurherve lemeurherve self-assigned this Feb 29, 2024
@lemeurherve lemeurherve removed the triage Incoming issues that need review label Feb 29, 2024
@lemeurherve
Copy link
Member

@mawinter69 I see that you triggered a new cd action, perfect, I was about to ask you just that as the RPU job finished with success this time.

@lemeurherve
Copy link
Member

cd action https://github.com/jenkinsci/role-strategy-plugin/actions/runs/8101450095/job/22141659284 succeeded, closing this issue.

@basil
Copy link
Collaborator

basil commented Feb 29, 2024

Thank you, @lemeurherve!

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

No branches or pull requests

3 participants