zentol commented on a change in pull request #11178: [hotfix] Stabilize python
tests
URL: https://github.com/apache/flink/pull/11178#discussion_r382716947
##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -98,10 +98,15 @@ jobs:
path: $(CACHE_FLINK_DIR)
artifact: FlinkCompileCacheDir-${{parameters.stage_name}}
- # recreate "build-target" symlink for python tests
- - script: |
- ln -snf
$(CACHE_FLINK_DIR)/flink-dist/target/flink-*-SNAPSHOT-bin/flink-*-SNAPSHOT
$(CACHE_FLINK_DIR)/build-target
- displayName: Recreate 'build-target' symlink
+ # only for the python stage (which runs a full mvn install), download the
cache
+ - task: Cache@2
+ condition: eq(variables['module'], 'python')
+ inputs:
+ key: $(CACHE_KEY)
+ restoreKeys: $(CACHE_FALLBACK_KEY)
+ path: $(MAVEN_CACHE_FOLDER)
+ continueOnError: true # continue the build even if the cache fails.
+ displayName: Cache Maven local repo
# Test
Review comment:
add an empty line?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services