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

后端 未结 6 714
一个人的身影
一个人的身影 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条回答
  •  暖寄归人
    2020-12-23 21:27

    The documentation for the artifactory plugin can be found, as expected, in Artifactory User Guide.

    Please note that it is adviced to use the newer plugin - artifactory-publish, which supports the new Gradle publishing model.

    Regarding uploading from the command line, you really don't need gradle for that. You can execute a simple PUT query using CURL or any other tool.

    And of course if you just want to get your file into Artifactory, you can always deploy it via the UI.

提交回复
热议问题