|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

I have the same issue.
I put server credential into settings.xml via "Config File Provider Plugin" and "Default global settings provider" configuration.
But it didn't work.
I configured the user credential in the "Credential" configuration using a domain with specification "Maven ServerId" and another with specification "Hostname", but both of these configuration failed.![]()
I get this stack trace:
Return code is: 401, ReasonPhrase: Unauthorized.
at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:143)
at hudson.maven.reporters.MavenArtifactRecord.deploy(MavenArtifactRecord.java:193)
at hudson.maven.RedeployPublisher.perform(RedeployPublisher.java:176)
Where the "Deploy maven artifacts to Maven repository" action is supposed to read the credential to upload artifact to the repository?