Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Not A Defect
    • Component/s: artifactory
    • Labels:
      None
    • Similar Issues:

      Description

      For unknown reasons, I'm not able to release my plugin. I get a 401 not authorized. I tested my password in artifactory and am able to log in. I'm not sure what the issue is.

      Log from my deploy:

         [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project scm-filter-branch-pr: Failed to deploy artifacts: Could not transfer artifact org.jenkins-ci.plugins:scm-filter-branch-pr:hpi:0.3 from/to maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): Failed to transfer file: https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/scm-filter-branch-pr/0.3/scm-filter-branch-pr-0.3.hpi. Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
      

        Attachments

          Activity

          Hide
          sag47 Sam Gleske added a comment -

          I only had a credentials entry for repo.jenkins-ci.org.  Duplicating it to maven.jenkins-ci.org in my settings.xml resolved the issue.

          Show
          sag47 Sam Gleske added a comment - I only had a credentials entry for repo.jenkins-ci.org.  Duplicating it to maven.jenkins-ci.org in my settings.xml resolved the issue.
          Hide
          danielbeck Daniel Beck added a comment -

          Unauthorized means Maven does not send a password, or the wrong password. As per https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-Workingaroundcommonissues make sure the repository entry uses the ID maven.jenkins-ci.org in your settings.xml.

          Show
          danielbeck Daniel Beck added a comment - Unauthorized means Maven does not send a password, or the wrong password. As per https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-Workingaroundcommonissues make sure the repository entry uses the ID maven.jenkins-ci.org in your settings.xml.

            People

            • Assignee:
              danielbeck Daniel Beck
              Reporter:
              sag47 Sam Gleske
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: