Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57081

Plugin Doesn't Work with Private S3 Maven Repository

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Component/s: maven-metadata-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.172
      Maven Metadata Plugin ver. 2.0.0
    • Similar Issues:

      Description

      I've created a private S3 Maven repository using this solution https://www.yegor256.com/2015/09/07/maven-repository-amazon-s3.html

       

      When I use the Maven Metadata Plugin I get the following error when I run build with parameters:

       

      <java.io.IOException: Server returned HTTP response code: 403 for URL https://s3.eu-west-2.amazonaws.com/maven-repo/release/com/tool/provisioning/maven-metadata.xml>

       

      both the Jenkins master and agent have access to the s3 bucket with the correct IAM permissions via IAM Role and policies. In fact, I can list the maven metadata fine on both the master and agent using aws cli aws s3 ls. The only way I can get round this is to make the maven-metadata.xml public in the s3 repository which is really not ideal..

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              marcrohlfs Marc Rohlfs
              Reporter:
              synalogik Ebrahim Moshaya
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: