Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-9680

Not able to upload artifact to artifactory repository

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Deferred
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Gradle
    • Labels:
      None
    • Environment:

      Linux.
      vm(centos) created on vagrant. Installed jenkins and artifactory in vm only.

      Description

      I am trying to upload an artifact(hello-1.0.jar) to artifactory but not able to do so.

      Using the below curl command -:

      curl -i -X PUT -u admin:password\
      -H "X-Checksum-Md5: $md5Value" \
      -H "X-Checksum-Sha1: $sha1Value" \
      -T /root/.jenkins/workspace/Hello-Artifactory/build/libs/hello-1.0.jar\
      http://192.168.0.2:8081/artifactory/hello-artifactory/hello-1.0.jar

      Error which I am receiving is -:

      INFO: Uploading /root/.jenkins/workspace/Hello-Artifactory/build/libs/hello-1.0.jar to http://192.168.0.2:8081/artifactory/hello-artifactory/hello-1.0.jar
      % Total % Received % Xferd Average Speed Time Time Time Current
      Dload Upload Total Spent Left Speed

      0 4051 0 0 0 0 0 0 -::- -::- -::- 0
      100 4116 0 65 101 4051 1133 70626 -::- -::- -::- 72339
      HTTP/1.1 100 Continue

      HTTP/1.1 403 Forbidden
      Server: Artifactory/4.4.2
      X-Artifactory-Id: eaf02f309249d62a:634b66ab:152d27972aa:-8000
      Content-Type: application/json;charset=ISO-8859-1
      Content-Length: 65
      Date: Fri, 12 Feb 2016 19:22:08 GMT
      Connection: close

      {
      "errors" : [

      { "status" : 403, "message" : "" }

      ]
      }Finished: SUCCESS

        Attachments

          Activity

            People

            Assignee:
            eyalbe Eyal Ben David
            Reporter:
            ryansuxena@gmail.com ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-9680 -
                SYNCHRONIZED
                • Last Sync Date: