Upload artifact to Artifactory via Rest API and user plugins

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Upload artifact to Artifactory via Rest API and user plugins

maras
I want to write user plugin for additional validation for downloading artifacts to Artifactory. Is the additional validation implamented via user plugins effective for uploading artifact via rest api PUT commands?
Reply | Threaded
Open this post in threaded view
|

Re: Upload artifact to Artifactory via Rest API and user plugins

itamarb
Hi,

The 'beforeCreate' storage execution point is triggered whenever a file is uploaded to Artifactory, whether from the UI or by a PUT request (manually or from a build tool).
Using this execution point will enable you to run your own code on every file being created in Artifactory.

Hope this helps,
Itamar