Caching mvn dependencies for Appveyor#320
Caching mvn dependencies for Appveyor#320ahmad-ibra merged 4 commits intomicrosoft:RTW_6.2.0from ahmad-ibra:AppVeyor_Cache
Conversation
This is done to speed up builds
Codecov Report
@@ Coverage Diff @@
## RTW_6.2.0 #320 +/- ##
==============================================
- Coverage 37.17% 37.1% -0.07%
+ Complexity 1670 1666 -4
==============================================
Files 103 103
Lines 23663 23663
Branches 3918 3918
==============================================
- Hits 8796 8781 -15
- Misses 13278 13296 +18
+ Partials 1589 1586 -3
Continue to review full report at Codecov.
|
v-nisidh
left a comment
There was a problem hiding this comment.
Check with new cache settings. Run couple of times if you able to see improvement then use new settings.
| - mssql2016 | ||
|
|
||
| cache: | ||
| - C:\Users\appveyor\.m2 -> pom.xml |
There was a problem hiding this comment.
I think it should be directory caching. By following snippet it will cache whole directory.
cache:
directories:
- $HOME/.m2
or
cache:
- $HOME/.m2
There was a problem hiding this comment.
changing to $HOME didnt work.
With that update, appveryor can't find the cache, downloads all maven dependencies, and then creates a new build cache on every build.
Reverting back to original implementation
This is done to speed up builds