[JIRA] (OVIRT-751) Persistent maven caches on the mock slaves

Gil Shinar (oVirt JIRA) jira at ovirt-jira.atlassian.net
Mon Oct 31 16:17:02 UTC 2016


     [ https://ovirt-jira.atlassian.net/browse/OVIRT-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gil Shinar reassigned OVIRT-751:
--------------------------------

    Assignee: Gil Shinar  (was: infra)

> Persistent maven caches on the mock slaves
> ------------------------------------------
>
>                 Key: OVIRT-751
>                 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-751
>             Project: oVirt - virtualization made easy
>          Issue Type: Improvement
>            Reporter: Anton Marchukov
>            Assignee: Gil Shinar
>
> I think we need to design a way to retain maven caches on the mocked jenkins slaves. Currently it is stored inside the mock and thus maven downloads packages from artifactory server each time. 
> However there is really no reason for that. Maven artifacts are designed to be immutable so once artifact is in the repo there is no trivial way to change it without creating a new version. In fact it should never be needed and the correct solution for that is to always create a new version.
> SNAPSHOOT artifacts are in fact timestamped and each one have different file name. It is just not visible since maven automatically takes the latest one. But it is not related to caching as the new snapshoot will be a new artifact still.
> So based on that point there is no reason to purge maven cache each time, but there are reasons why not to purge. Not purging them will reduce the build times of all java jobs and also reduce the network traffic we have. 



--
This message was sent by Atlassian JIRA
(v1000.482.3#100017)



More information about the Infra mailing list