XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: artifactory
    • Labels:
    • Environment:
      Java: java version "1.8.0_251"
    • Similar Issues:

      Description

      Hi,

       

      I'm getting the below error while performing the command: "mvn release:prepare release:perform" to release our first perfecto Jenkins plugin.

         [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project perfecto: Failed to deploy artifacts: Could not transfer artifact io.jenkins.plugins:perfecto:hpi:1.7 from/to repo.jenkins-ci.org (https://repo.jenkins-ci.org/releases): Authorization failed for https://repo.jenkins-ci.org/releases/io/jenkins/plugins/perfecto/1.7/perfecto-1.7.hpi 403 Forbidden -> [Help 1]

       

      PFA for my .m2/settings.xml screenshot. 
      Here's the GitHub plugin repo link: https://github.com/jenkinsci/perfecto-plugin
      Github +ssh connectivity done as my snapshots are getting incremented as expected by I'm unable to release the plugin. I have been working on this whole day but with little luck and I really wish to know why. Looking forward for your help.

          [ERROR] 

        Attachments

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -

          It's possible that it may take some time for all the permissions updates to propagate, can you retry in an hour and see if there is still a problem?

          Show
          slide_o_mix Alex Earl added a comment - It's possible that it may take some time for all the permissions updates to propagate, can you retry in an hour and see if there is still a problem?
          Hide
          genesisthomas genesis thomas added a comment -

          Upload works. Please close this ticket. Thanks for your assistance

          Show
          genesisthomas genesis thomas added a comment - Upload works. Please close this ticket. Thanks for your assistance
          Hide
          genesisthomas genesis thomas added a comment - - edited

          Alex Earl, I would like to know about jenkins behaviour. I was able to publish the plugin and see it here: https://plugins.jenkins.io/ui/search/?query=perfecto but I'm not sure how to add labels.

          When I install the plugin in plugin manager, it fails with file not found exception searching for 1.15 version although maven had released it. Is it some kind of sync issue?

          Show
          genesisthomas genesis thomas added a comment - - edited Alex Earl , I would like to know about jenkins behaviour. I was able to publish the plugin and see it here: https://plugins.jenkins.io/ui/search/?query=perfecto  but I'm not sure how to add labels. When I install the plugin in plugin manager, it fails with file not found exception searching for 1.15 version although maven had released it. Is it some kind of sync issue?
          Hide
          slide_o_mix Alex Earl added a comment -

          It's possible the file hasn't made it to all mirrors yet and you got sent to a mirror that was not updated. After publishing a plugin it can take some time for all mirrors to update.

          Show
          slide_o_mix Alex Earl added a comment - It's possible the file hasn't made it to all mirrors yet and you got sent to a mirror that was not updated. After publishing a plugin it can take some time for all mirrors to update.
          Hide
          genesisthomas genesis thomas added a comment -

          great, thanks for clarifying the jenkins process. it was a pleasure working with you. Wish you a great weekend.

          Show
          genesisthomas genesis thomas added a comment - great, thanks for clarifying the jenkins process. it was a pleasure working with you. Wish you a great weekend.

            People

            Assignee:
            slide_o_mix Alex Earl
            Reporter:
            genesisthomas genesis thomas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: