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

Unable to upload split-admin plugin file to repo.jenkins-ci.org

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Not A Defect
    • Component/s: artifactory
    • Labels:
      None
    • Environment:
      Apache Maven 3.5.4
      Java 10.0.1
    • Similar Issues:

      Description

      Trying to release first version of split-admin-plugin, running: 

      mvn release:prepare release:perform

      When its uploading the artifact, I see the error below (mvn debug output attached):

      [INFO] — maven-deploy-plugin:2.8.2:deploy (default-deploy) @ split-admin —

          Uploading to maven.jenkins-ci.org: https://repo.jenkins-ci.org/releases/io/split/jenkins/plugins/split-admin/1.2/split-admin-1.2.hpi

          Uploading to maven.jenkins-ci.org: https://repo.jenkins-ci.org/releases/io/split/jenkins/plugins/split-admin/1.2/split-admin-1.2.pom

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

          [INFO] BUILD FAILURE

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

          [INFO] Total time: 23.885 s

          [INFO] Finished at: 2020-06-04T18:14:30-07:00

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

          [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project split-admin: Failed to deploy artifacts: Could not transfer artifact io.split.jenkins.plugins:split-admin:hpi:1.2 from/to maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): Access denied to: https://repo.jenkins-ci.org/releases/io/split/jenkins/plugins/split-admin/1.2/split-admin-1.2.hpi, ReasonPhrase: Forbidden. 

       

      The password is encrypted in Settings.xml, the permissions yaml looks good (https://github.com/jenkins-infra/repository-permissions-updater/blob/master/permissions/plugin-split-admin.yml)

      I can login to artifactory https://repo.jenkins-ci.org/webapp/#/home and clicking "Upload" does not show permission error.

        Attachments

          Activity

            People

            Assignee:
            oleg_nenashev Oleg Nenashev
            Reporter:
            bilal_split Bilal Al-Shahwany
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: