Hi Marek,

I haven't tried it, but I wouldn't be surprised if Artifactory unzips and then 
triggers a separate "deploy" for each file.  I don't see "bundle" callbacks 
under 
https://www.jfrog.com/confluence/display/RTF/User+Plugins#UserPlugins-Storage. 
In that case, you could write a plugin to do per-file validation, but maybe not 
reject the whole ZIP if only some of it is "invalid" by your rules.  Also, if 
that *is* how it works, I'm not sure what would happen if you returned a 
failure status or threw an exception -- would the rest of the unzipped files be 
uploaded?

Hope that helps,

Hugh Greene, Senior Software Developer
Toshiba Medical Visualization Systems Europe, Ltd
Bonnington Bond, 2 Anderson Place, Edinburgh EH6 5NP, UK
Tel + 44 (0)131 472 4792 / Fax + 44 (0) 131 472 4799
http://www.tmvse.com / mailto:[email protected] 

DISCLAIMER
Unless indicated otherwise, the information contained in this message is 
privileged and confidential, and is intended only for the use of the 
addressee(s) named above and others who have been specifically authorized to 
receive it. If you are not the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this message and/or attachments 
is strictly prohibited. The company accepts no liability for any damage caused 
by any virus transmitted by this email. Furthermore, the company does not 
warrant a proper and complete transmission of this information, nor does it 
accept liability for any delays. If you have received this message in error, 
please contact the sender and delete the message.

-----Original Message-----
From: maras [mailto:[email protected]] 
Sent: 06 November 2015 12:42
To: [email protected]
Subject: [Artifactory-users] Artifact bundle upload - user groovy plugin

There is option in GUI - upload artifact bundle. We want to add some validation 
to that action. Is there any documentation or code for that option?
Regards
Marek



--
View this message in context: 
http://forums.jfrog.org/Artifact-bundle-upload-user-groovy-plugin-tp7580569.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com 
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to