-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caching mvn dependencies for Appveyor #320
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.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check with new cache settings. Run couple of times if you able to see improvement then use new settings.
@@ -7,10 +7,13 @@ environment: | |||
|
|||
services: | |||
- mssql2016 | |||
|
|||
cache: | |||
- C:\Users\appveyor\.m2 -> pom.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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