I’m attempting to release the latest Code Dx plugin (
https://github.com/jenkinsci/codedx-plugin) but am getting HTTP 401 
responses when running `mvn release:perform`. Parent POM is latest at 4.2, 
and I have my maven settings at `C:/Users/algor/.m2/settings.xml` 
containing:

 

<settings xmlns="https://maven.apache.org/SETTINGS/1.0.0";

  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

  xsi:schemaLocation="https://maven.apache.org/SETTINGS/1.0.0

                      https://maven.apache.org/xsd/settings-1.0.0.xsd";>

 

  <servers>

    <server>

      <id>maven.jenkins-ci.org</id> 

      <username>tylercamp</username>

      <password>REDACTED-ENCRYPTED-PASSWORD</password>

    </server>

  </servers>

 

</settings>

 

Encrypted password was pulled from 
https://repo.jenkins-ci.org/webapp/#/profile . My account was registered 
with `jenkins-infrra/repository-permissions-updater` repo: 
https://github.com/jenkins-infra/repository-permissions-updater/blob/master/permissions/plugin-codedx.yml

 

Relevant log lines:

 

    [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ codedx 
---

    Uploading to repo.jenkins-ci.org: 
https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/codedx/3.0.0/codedx-3.0.0.hpi

    Uploading to repo.jenkins-ci.org: 
https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/codedx/3.0.0/codedx-3.0.0.pom

    [INFO] 
------------------------------------------------------------------------

    [INFO] BUILD FAILURE

    [INFO] 
------------------------------------------------------------------------

    [INFO] Total time:  23.104 s

    [INFO] Finished at: 2020-05-22T13:09:05-04:00

    [INFO] 
------------------------------------------------------------------------

    [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) 
on project codedx: Failed to deploy artifacts: Could not transfer artifact 
org.jenkins-ci.plugins:codedx:hpi:3.0.0 from/to repo.jenkins-ci.org (
https://repo.jenkins-ci.org/releases): Transfer failed for 
https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/codedx/3.0.0/codedx-3.0.0.hpi
 
401 Unauthorized -> [Help 1]

    [ERROR]

 

Let me know if there’s more information I should attach for troubleshooting 
this. Any help appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/2166ff20-524a-40ab-9b31-928b407f1f83%40googlegroups.com.

Reply via email to