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

perfecto plugin: 401 error on running "mvn release:perform" for user genesisthomas #4088

Closed
genesis-thomas opened this issue May 10, 2024 · 3 comments
Assignees

Comments

@genesis-thomas
Copy link

genesis-thomas commented May 10, 2024

Service(s)

Artifactory

Summary

user: genesisthomas
I'm trying to release perfecto plugin but I keep getting 401 error on running "mvn release:perform"

MVN error:
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project perfecto: Failed to deploy artifacts: Could not transfer artifact io.jenkins.plugins:perfecto:hpi:1.25 from/to repo.jenkins-ci.org (https://repo.jenkins-ci.org/releases): status code: 401, reason phrase: (401) -> [Help 1]

I can login at https://accounts.jenkins.io/ as well as https://repo.jenkins-ci.org/ui/login/
Note: genesisthomas is my older GitHub account that was part of this plugin release. I still ave access to it

Reproduction steps

Using user: genesisthomas and trying to release perfecto plugin

@genesis-thomas genesis-thomas added the triage Incoming issues that need review label May 10, 2024
@dduportal dduportal self-assigned this May 10, 2024
@dduportal dduportal added this to the infra-team-sync-2024-05-14 milestone May 10, 2024
@dduportal
Copy link
Contributor

Quick check on the infra setup for the username genesisthomas:

=> It does not look like an infrastructure error

@dduportal
Copy link
Contributor

Hi @genesis-thomas , the HTTP/401 error indicates that the couple username + password set up inside your Maven settings is refused by Artifactory.
As you can login at bothhttps://accounts.jenkins.io/ and https://repo.jenkins-ci.org/ui/login/, could you check your setup please?

The documentation at https://www.jenkins.io/doc/developer/publishing/releasing-manually/ is a good first step. However, be careful regarding the <id>: you might have to update it to map to your project (I did not had time to check if the pom.xml of the perfecto plugin and the associated parent pom version have the correct setup: an mvn effective pom might help you).

@genesis-thomas
Copy link
Author

genesis-thomas commented May 13, 2024

Thanks @dduportal. <id> was the issue

@dduportal dduportal removed the triage Incoming issues that need review label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants