[
https://issues.apache.org/jira/browse/MBUILDCACHE-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Réda Housni Alaoui updated MBUILDCACHE-97:
------------------------------------------
Description:
I just encountered my first CI build failure caused by the eviction of the
local cache by a concurrent build.
Today, {{maxBuildsCached}} (defaults to 3) can only be set in the cache
configuration xml file.
In our case (IMO in most cases), {{maxBuildsCached}} should be low on developer
machines and high on CI machines (to avoid build failures caused by the
concurrency).
Having a flag allowing to override {{maxBuildsCached}} would allow to enforce
it to a high value on CI environments.
was:
I just encountered my first CI build failure caused by the eviction of the
local cache by a concurrent build.
Today, {{maxBuildsCached}} (defaults to 3) can only be set in the cache
configuration xml file.
In our case (IMO in most cases), {{maxBuildsCached}} should be low on developer
machines and high on CI machines (to avoid build failures caused by the
concurrency).
Having a flag allowing to override {{maxBuildsCached}} would allow to enforcer
it to a high value on CI environments.
> Allow to override "cache->configuration->local->maxBuildsCached" via a
> command line flag
> ----------------------------------------------------------------------------------------
>
> Key: MBUILDCACHE-97
> URL: https://issues.apache.org/jira/browse/MBUILDCACHE-97
> Project: Maven Build Cache Extension
> Issue Type: Improvement
> Reporter: Réda Housni Alaoui
> Priority: Major
>
> I just encountered my first CI build failure caused by the eviction of the
> local cache by a concurrent build.
> Today, {{maxBuildsCached}} (defaults to 3) can only be set in the cache
> configuration xml file.
> In our case (IMO in most cases), {{maxBuildsCached}} should be low on
> developer machines and high on CI machines (to avoid build failures caused by
> the concurrency).
> Having a flag allowing to override {{maxBuildsCached}} would allow to enforce
> it to a high value on CI environments.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)