scholzb-hb commented on issue #463:
URL: 
https://github.com/apache/maven-build-cache-extension/issues/463#issuecomment-4213696700

   Hi, thanks for your reply! Yes, we have read this documentation and 
configured the reconcile settings exactly as recommended, see attached 
reproducer.zip:
   ```
           <reconcile>
               <plugins>
                   <plugin artifactId="maven-surefire-plugin" goal="test">
                       <reconciles>
                           <reconcile propertyName="skip" skipValue="true" />
                           <reconcile propertyName="skipExec" skipValue="true" 
/>
                           <reconcile propertyName="skipTests" skipValue="true" 
/>
                           <reconcile propertyName="testFailureIgnore" 
skipValue="true" />
                       </reconciles>
                   </plugin>
               </plugins>
           </reconcile>
   ```
   This works perfectly with and without -DskipTests, as long as the remote 
cache is not involved. For example, in step 3 everything behaves as expected:
   > Build runner A runs a build without -DskipTests. Cache entry is found, but 
considered incomplete since skipTests was enabled. Tests are executed, and the 
result is saved in the remote cache again (under the same checksum, now with 
skipTests=false).
   
   The issue occurs in step 4, when the maven-build-cache-extension **refuses 
to look into the remote cache**, although the needed cache entry is there. It 
uses a **stale local copy** of the remote cache content instead.


-- 
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