diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 397ff9800..5f21b29bb 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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) @@ -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' @@ -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' @@ -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' @@ -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'