Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.1
-
None
Description
In certain failure cases it's possible that only part of a module artifacts get stored in the local and remote storage. In that case if buildinfo.xml got stored, the extension will later incorrectly attempt to restore the partially cached build.
Because buildinfo.xml is used as an indication that the cached artifacts exist, I propose to reorder the logic in
CacheControllerImpl.save()
so that
localCache.saveBuildInfo(cacheResult, build);
will happen after the project's artifacts are stored.
Attachments
Issue Links
- links to