rmetzger commented on a change in pull request #11222: [FLINK-15834] Set up
nightly builds in Azure & various CI improvements
URL: https://github.com/apache/flink/pull/11222#discussion_r384456815
##########
File path: tools/azure-pipelines/jobs-template.yml
##########
@@ -159,9 +167,15 @@ jobs:
restoreKeys: $(CACHE_FALLBACK_KEY)
path: $(MAVEN_CACHE_FOLDER)
displayName: Cache Maven local repo
+ continueOnError: true
+ - script: |
+ echo "##vso[task.setvariable variable=JAVA_HOME]$(JAVA_HOME_11_X64)"
+ echo "##vso[task.setvariable
variable=PATH]$(JAVA_HOME_11_X64)/bin;$(PATH)"
+ displayName: "Set to jdk11"
+ condition: eq('${{parameters.container}}', 'flink-build-jdk11')
- script: ./tools/travis/setup_maven.sh
- script: ./tools/azure-pipelines/setup_kubernetes.sh
- - script: M2_HOME=/home/vsts/maven_cache/apache-maven-3.2.5/
PATH=/home/vsts/maven_cache/apache-maven-3.2.5/bin:$PATH
PROFILE="-Dinclude-hadoop -Dhadoop.version=2.8.3 -De2e-metrics
-Dmaven.wagon.http.pool=false" STAGE=compile ./tools/azure_controller.sh compile
+ - script: M2_HOME=/home/vsts/maven_cache/apache-maven-3.2.5/
PATH=/home/vsts/maven_cache/apache-maven-3.2.5/bin:$PATH
${{parameters.environment}} STAGE=compile ./tools/azure_controller.sh compile
displayName: Build
- script: FLINK_DIR=`pwd`/build-target
flink-end-to-end-tests/run-nightly-tests.sh
Review comment:
In my understanding these are executed in the `misc` profile, from the
`travis_watchdog.sh` script. (See an example of a `misc` profile:
https://dev.azure.com/rmetzger/Flink/_build/results?buildId=5590&view=logs&j=b09cc737-3452-5710-2b65-ee4e507c2164&t=8141c33c-fb34-5bae-c47a-dcb67e7c446b)
----------------------------------------------------------------
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