jira-importer opened a new issue, #273:
URL: https://github.com/apache/maven-build-cache-extension/issues/273

   **[Amir 
Hadadi](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hermes)** 
opened 
**[MBUILDCACHE-71](https://issues.apache.org/jira/browse/MBUILDCACHE-71?redirect=false)**
 and commented
   
   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 
   
   ```java
   CacheControllerImpl.save()
   ```
   
    so that 
   
   ```java
   localCache.saveBuildInfo(cacheResult, build);
   ```
   
   will happen after the project's artifacts are stored.
   
   
   ---
   
   **Affects:** 1.0.1
   
   **Remote Links:**
   - [GitHub Pull Request #138
   ](https://github.com/apache/maven-build-cache-extension/pull/138)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to