How do I deploy a file to Artifactory using the command line?

后端 未结 6 710
一个人的身影
一个人的身影 2020-12-23 20:33

I\'ve spent far more time on this than I care to admit. I am trying to just deploy one file into my Artifactory server from the command line. I\'m doing this using gradle

6条回答
  •  -上瘾入骨i
    2020-12-23 21:36

    $ curl -v -X PUT                    \
      --user username:password          \
      --upload-file  \
      http://localhost:8080/artifactory/libs-release-local/my/jar/1.0/jar-1.0.jar
    

提交回复
热议问题