Skip to content
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
43 changes: 5 additions & 38 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ pool:
vmImage: 'ubuntu-18.04'

variables:
MAVEN_CACHE_FOLDER: $(Pipeline.Workspace)/.m2/repository
MAVEN_OPTS: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER) -Dcheckstyle.skip=true -Drat.skip=true -Djacoco.skip=true'
MAVEN_OPTS: '-Dcheckstyle.skip=true -Drat.skip=true -Djacoco.skip=true'
SPARK_VERSION: '2.4.4'
HADOOP_VERSION: '2.7'
SPARK_ARCHIVE: spark-$(SPARK_VERSION)-bin-hadoop$(HADOOP_VERSION)
Expand All @@ -35,19 +34,11 @@ stages:
displayName: UT FT common & flink & UT client/spark-client
timeoutInMinutes: '90'
steps:
- task: Cache@2
displayName: set cache
inputs:
key: 'maven | "$(Agent.OS)" | **/pom.xml'
restoreKeys: |
maven | "$(Agent.OS)"
maven
path: $(MAVEN_CACHE_FOLDER)
- task: Maven@3
displayName: maven install
inputs:
mavenPomFile: 'pom.xml'
goals: 'install'
goals: 'clean install'
options: -T 2.5C -DskipTests
publishJUnitResults: false
jdkVersionOption: '1.8'
Expand All @@ -74,19 +65,11 @@ stages:
displayName: FT client/spark-client
timeoutInMinutes: '90'
steps:
- task: Cache@2
displayName: set cache
inputs:
key: 'maven | "$(Agent.OS)" | **/pom.xml'
restoreKeys: |
maven | "$(Agent.OS)"
maven
path: $(MAVEN_CACHE_FOLDER)
- task: Maven@3
displayName: maven install
inputs:
mavenPomFile: 'pom.xml'
goals: 'install'
goals: 'clean install'
options: -T 2.5C -DskipTests
publishJUnitResults: false
jdkVersionOption: '1.8'
Expand All @@ -104,19 +87,11 @@ stages:
displayName: UT FT clients & cli & utilities & sync/hive-sync
timeoutInMinutes: '90'
steps:
- task: Cache@2
displayName: set cache
inputs:
key: 'maven | "$(Agent.OS)" | **/pom.xml'
restoreKeys: |
maven | "$(Agent.OS)"
maven
path: $(MAVEN_CACHE_FOLDER)
- task: Maven@3
displayName: maven install
inputs:
mavenPomFile: 'pom.xml'
goals: 'install'
goals: 'clean install'
options: -T 2.5C -DskipTests
publishJUnitResults: false
jdkVersionOption: '1.8'
Expand All @@ -143,19 +118,11 @@ stages:
displayName: UT FT other modules
timeoutInMinutes: '90'
steps:
- task: Cache@2
displayName: set cache
inputs:
key: 'maven | "$(Agent.OS)" | **/pom.xml'
restoreKeys: |
maven | "$(Agent.OS)"
maven
path: $(MAVEN_CACHE_FOLDER)
- task: Maven@3
displayName: maven install
inputs:
mavenPomFile: 'pom.xml'
goals: 'install'
goals: 'clean install'
options: -T 2.5C -DskipTests
publishJUnitResults: false
jdkVersionOption: '1.8'
Expand Down