Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-1254

Can't deploy hpi on jenkins maven repo

    Details

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

      Description

      Hi,

      I can't depose my hpi on https://repo.jenkins-ci.org/snapshots/ when I launch  `mvn clean release:prepare release:perform` with user nicodeur.

      I already created a pull request here https://github.com/jenkins-infra/repository-permissions-updater/pull/345/files to ask right.

       

      See error bellow : 

       Finished at: 2017-06-28T11:23:00+02:00

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project cerberus-testing: Failed to deploy artifacts: Could not transfer artifact org.jenkins-ci.plugins:cerberus-testing:hpi:1.0.0-20170628.091557-1 from/to maven.jenkins-ci.org (https://repo.jenkins-ci.org/snapshots/): Failed to transfer file: https://repo.jenkins-ci.org/snapshots/org/jenkins-ci/plugins/cerberus-testing/1.0.0-SNAPSHOT/cerberus-testing-1.0.0-20170628.091557-1.hpi. Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]

       

      Thanks for advance.

      Nicolas

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          Every user has permissions to deploy snapshots.

          Whatever is going on here is a client side issue.

          HTTP 401 means you're not authenticating properly. Please see https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-Workingaroundcommonissues . If none of that helps, ask for advice on the jenkinsci-dev mailing list, or in #jenkins on Freenode, where more than 1 or 2 people read your message (like here).

          Show
          danielbeck Daniel Beck added a comment - Every user has permissions to deploy snapshots. Whatever is going on here is a client side issue. HTTP 401 means you're not authenticating properly. Please see https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-Workingaroundcommonissues . If none of that helps, ask for advice on the jenkinsci-dev mailing list, or in #jenkins on Freenode, where more than 1 or 2 people read your message (like here).

            People

            • Assignee:
              danielbeck Daniel Beck
              Reporter:
              nicodeur Nicolas Deblock
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: