Other ways to achieve what you are after besides using the REST
API<http://wiki.jfrog.org/confluence/display/RTF/Artifactory%27s+REST+API>
would
be:
1. Use Smart
Searches<http://wiki.jfrog.org/confluence/display/RTF/Smart+Searches>
-
to search for all tgz artifacts from the UI then bulk delete the results in
one go.
2. Write a Groovy
plugin<http://wiki.jfrog.org/confluence/display/RTF/User+Plugins> that
will intercept the storage event and discard any tgz sent to Artifactory.
On Thu, Mar 17, 2011 at 9:26 AM, Noam Y. Tenne <[email protected]> wrote:
> I don't think the Maven deploy plugin supports exclusion, but what you can
> do is generate the tgz files in a goal separate to the deployment.
> If excluding the files from the same cycle as the deployment not possible,
> or if you'd just rather clean them up in Artifactory, you can write a small
> automated script that uses the REST-API to search & remove these files.
>
> HTH,
> Noam
>
> On Wed, Mar 16, 2011 at 3:23 PM, deaddowney <[email protected]> wrote:
>
>> I'm running into space issues with our repository. Our build process
>> calls
>> maven deploy and puts the build products, which include some large tgz
>> files
>> into Artifactory. These tgz files are not really needed by Artifactory
>> clients. Is there a way to either filter these artifacts from a repo or
>> to
>> mass delete them by type (tgz)?
>>
>> I know the Hudson/Jenkins plugin offers an artifact filter, but in this
>> case, the publishing is done through maven deploy, which is insistent on
>> publishing anything of note in the target directory. If anyone knows of a
>> maven trick to avoid this, that would be cool too.
>>
>> --
>> View this message in context:
>> http://forums.jfrog.org/Ignoring-Mass-Deleting-Certain-Artifacts-tp6176495p6176495.html
>> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> Colocation vs. Managed Hosting
>> A question and answer guide to determining the best fit
>> for your organization - today and in the future.
>> http://p.sf.net/sfu/internap-sfd2d
>> _______________________________________________
>> Artifactory-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users