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

Reduce CI load on failing PR #4952

Merged
merged 1 commit into from
Oct 29, 2019
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
28 changes: 4 additions & 24 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ stages:
options: '-B --settings azure-mvn-settings.xml -DskipTests=true -Dno-format -DskipDocs'

#This stage builds the Quarkus artifacts needed for native image testing
- stage: build_artifact_for_native_stage
- stage: initial_jdk8_stage
displayName: 'Build for Native'
dependsOn: cache_maven_repo_stage
jobs:
Expand All @@ -98,35 +98,15 @@ stages:
pool:
vmImage: 'Ubuntu 16.04'
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
inputs:
key: maven | bom/runtime/pom.xml
path: $(Pipeline.Workspace)/.m2/repository/
securityNamespace: cache
displayName: Restore Maven Cache

- task: Maven@3
displayName: 'Maven Build'
inputs:
goals: 'install'
mavenOptions: $(MAVEN_OPTS)
options: '-B --settings azure-mvn-settings.xml -DskipTests -Dno-format'
- template: ci-templates/jvm-build-steps.yaml
- publish: $(MAVEN_CACHE_FOLDER)
artifact: BuiltMavenRepo

- stage: run_jvm_tests_stage
displayName: 'Run JVM Tests'
dependsOn: cache_maven_repo_stage
dependsOn: initial_jdk8_stage
jobs:

- job: Build_JDK8_Linux
displayName: 'Build JDK8 Linux'
timeoutInMinutes: 60
pool:
vmImage: 'Ubuntu 16.04'
steps:
- template: ci-templates/jvm-build-steps.yaml

- job: Windows_Build
displayName: 'Windows JVM Build'
timeoutInMinutes: 60
Expand Down Expand Up @@ -191,7 +171,7 @@ stages:

- stage: run_native_tests_stage
displayName: 'Native Tests'
dependsOn: build_artifact_for_native_stage
dependsOn: initial_jdk8_stage
jobs:
- template: ci-templates/native-build-steps.yaml
parameters:
Expand Down