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

Cannot upload plugin to repo.jenkins.ci

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I am trying to upload my first release of https://github.com/jenkinsci/material-theme-plugin, but it's failing with the `mvn release:perform -e` step.
      My permissions diff has been accepted: https://github.com/jenkins-infra/repository-permissions-updater and I have waited a few hours for it to propigate (I think I saw an issue earlier which said to wait at least an hour).

      The error is:
      ```
      [INFO] — maven-deploy-plugin:2.8.2:deploy (default-deploy) @ material-theme —
      Uploading to maven.jenkins-ci.org: https://repo.jenkins-ci.org/releases/io/jenkins/plugins/material-theme/0.3.0/material-theme-0.3.0.hpi
      Uploading to maven.jenkins-ci.org: https://repo.jenkins-ci.org/releases/io/jenkins/plugins/material-theme/0.3.0/material-theme-0.3.0.pom
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 24.137 s
      [INFO] Finished at: 2020-10-07T11:16:38+01:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project material-theme: Failed to deploy artifacts: Could not transfer artifact io.jenkins.plugins:material-theme:hpi:0.3.0 from/to maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): Access denied to: https://repo.jenkins-ci.org/releases/io/jenkins/plugins/material-theme/0.3.0/material-theme-0.3.0.hpi -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      ```

      My jenkins LDAP user is `canuck1987`, but my github user is `timbrown5` - i think I also have an old `timbrown5` LDAP account (which i could switch to in the furture if it's easier).

      I have added my LDAP credentials to `~/m2/settings.pom`
      ```
      <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>canuck1987</username>
      <password>...</password>
      </server>
      </servers>

      <pluginGroups>
      ...
      ```
      I have also added a new SSH key to GitHub and added it to my ssk-agent (i think I wouldn't get this far if that wasn't working).

      I just wanted to check if there is something I am missing or if I need to be more patient .

      P.S. sorry if this is the wrong component. I looked at a number of INFRA-xxx issues and they seemed to have different components, so I tried to pick the one I thought best suited.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            canuck1987 Tim Brown
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: