Skip to content
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

Added Pipeline to run TCK's with JDK 11 #6985

Merged
merged 1 commit into from
Feb 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 32 additions & 1 deletion ci-templates/stages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ stages:
jdk: '1.12'
- template: prepare-cache.yaml

- job: Run_TCKs
- job: Run_JDK8_TCKs
condition: and(eq(variables.LINUX_USE_VMS, ${{parameters.expectUseVMs}}),succeeded())
timeoutInMinutes: 60
pool: ${{parameters.poolSettings}}
Expand Down Expand Up @@ -204,6 +204,37 @@ stages:
mavenPomFile: 'tcks/pom.xml'
- template: prepare-cache.yaml

- job: Run_JDK11_TCKs
condition: and(eq(variables.LINUX_USE_VMS, ${{parameters.expectUseVMs}}),succeeded())
timeoutInMinutes: 60
pool: ${{parameters.poolSettings}}
workspace:
clean: all

steps:
- task: CacheBeta@0 #we know the very first job will have restored or created this, so this will never write built artifacts to the cache
displayName: Restore Maven Cache
inputs:
key: maven | bom/runtime/pom.xml
path: $(Pipeline.Workspace)/.m2/repository/
securityNamespace: cache
- task: Maven@3
displayName: 'Maven Install'
inputs:
goals: 'install'
mavenOptions: $(MAVEN_OPTS)
jdkVersionOption: '1.11'
options: '-B --settings azure-mvn-settings.xml -Dno-native -Dno-format -DskipTests -Dtcks'
- task: Maven@3
displayName: 'Maven Verify'
inputs:
goals: 'verify'
mavenOptions: $(MAVEN_OPTS)
jdkVersionOption: '1.11'
options: '-B --settings azure-mvn-settings.xml'
mavenPomFile: 'tcks/pom.xml'
- template: prepare-cache.yaml

- stage: run_native_tests_stage${{parameters.expectUseVMs}}
displayName: '${{parameters.displayPrefix}} Native Tests'
dependsOn: initial_jdk8_stage${{parameters.expectUseVMs}}
Expand Down