Artifact bundle upload - user groovy plugin

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

Artifact bundle upload - user groovy plugin

maras
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
Reply | Threaded
Open this post in threaded view
|

Re: Artifact bundle upload - user groovy plugin

Tim Telman
Hi Marek,


The "Deploy as Bundle Artifact" feature allows you to unarchive("unzip") an archived set of artifacts when deploying it to Artifactory. The supported extensions are zip, tar, tar.gz, tgz. For more information about "Deploy as Bundle Artifact” feature please visit this link.


Tim


On Fri, Nov 6, 2015 at 4:40 AM, maras <[hidden email]> wrote:
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users



--
Regards,

Tim

JFrog Support



------------------------------------------------------------------------------

_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: Artifact bundle upload - user groovy plugin

HughG_TMVSE
In reply to this post by maras
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:[hidden email]

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:[hidden email]]
Sent: 06 November 2015 12:42
To: [hidden email]
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users