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

Unable to publish Service fabric plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The issue I am facing currently is,

      When I run  mvn release:prepare release:perform (to release the plugin) I encounter the following error (release perform is failing).

          [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project service-fabric: Failed to deploy artifacts: Could not transfer artifact org.jenkinsci.plugins:service-fabric:hpi:1.0 from/to maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): Access denied to: https://repo.jenkins-ci.org/releases/org/jenkinsci/plugins/service-fabric/1.0/service-fabric-1.0.hpi, ReasonPhrase: Forbidden. -> [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

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

      [INFO] BUILD FAILURE

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

      [INFO] Total time: 01:10 min

      [INFO] Finished at: 2017-12-05T02:56:55-08:00

      [INFO] Final Memory: 20M/335M

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

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:perform (default-cli) on project service-fabric: Maven execution failed, exit code: '1' -> [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

      I looked into the possibilities mentioned in the hosting plugin site. I did not understand what I am doing wrong. I am also attaching the settings.xml and pom.xml files for reference.

      Can you please help me out regarding this ?

       

       

        Attachments

          Activity

          Hide
          rapatchi Rahul Patchigolla added a comment -

          Oleg Nenashev Any update regarding this ?.

          Show
          rapatchi Rahul Patchigolla added a comment - Oleg Nenashev Any update regarding this ?.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          It has nothing to do with the release plugin, likely you just have not completed steps declared in https://wiki.jenkins.io/display/JENKINS/Hosting+Plugins . Will move to the INFRA for now.

          Show
          oleg_nenashev Oleg Nenashev added a comment - It has nothing to do with the release plugin, likely you just have not completed steps declared in https://wiki.jenkins.io/display/JENKINS/Hosting+Plugins . Will move to the INFRA for now.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          CC Daniel Beck just in case

          Show
          oleg_nenashev Oleg Nenashev added a comment - CC Daniel Beck just in case
          Hide
          danielbeck Daniel Beck added a comment -

          Permissions look good. The only case I can imagine would be that you don't authenticate as rapatchi to upload these.

          If that's not it, contact me on IRC for a second run so I can watch the logs. (We only have ~20 minutes worth of logs or so)

          Show
          danielbeck Daniel Beck added a comment - Permissions look good. The only case I can imagine would be that you don't authenticate as rapatchi to upload these. If that's not it, contact me on IRC for a second run so I can watch the logs. (We only have ~20 minutes worth of logs or so)
          Hide
          rapatchi Rahul Patchigolla added a comment -

          The above settings.xml is good right ? In that  username I used is rapatchi only. Should I contact you on IRC ?

          Show
          rapatchi Rahul Patchigolla added a comment - The above settings.xml is good right ? In that  username I used is rapatchi only. Should I contact you on IRC ?
          Hide
          danielbeck Daniel Beck added a comment -

          Looks reasonable, although I'd make sure to use the encrypted password / API key for Artifactory instead the raw password (unclear which you use).

          Tried to ping you on IRC, but you left.

          Show
          danielbeck Daniel Beck added a comment - Looks reasonable, although I'd make sure to use the encrypted password / API key for Artifactory instead the raw password (unclear which you use). Tried to ping you on IRC, but you left.
          Hide
          rapatchi Rahul Patchigolla added a comment -

          I tried both raw password and API key. Came back online on IRC. I am pinging you on IRC for further discussion. 

          Show
          rapatchi Rahul Patchigolla added a comment - I tried both raw password and API key. Came back online on IRC. I am pinging you on IRC for further discussion. 

            People

            • Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              rapatchi Rahul Patchigolla
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: