changing fetch depth to 1 (#4056)

This commit is contained in:
Mark Iantorno 2022-09-21 20:08:49 -04:00 committed by GitHub
parent 27ecba796b
commit 201cd73e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 9 deletions

View File

@ -11,6 +11,8 @@ jobs:
pool: pool:
vmImage: ubuntu-latest vmImage: ubuntu-latest
steps: steps:
- checkout: self
fetchDepth: 1
- task: Cache@2 - task: Cache@2
inputs: inputs:
key: 'maven | "$(Agent.OS)" | "$(Build.SourceVersion)" | ./pom.xml' key: 'maven | "$(Agent.OS)" | "$(Build.SourceVersion)" | ./pom.xml'
@ -38,6 +40,8 @@ jobs:
pool: pool:
vmImage: ubuntu-latest vmImage: ubuntu-latest
steps: steps:
- checkout: self
fetchDepth: 1
- script: echo testing module ${{ p.module }} - script: echo testing module ${{ p.module }}
- script: echo $(SourceBranchName) - script: echo $(SourceBranchName)
- task: DockerInstaller@0 - task: DockerInstaller@0
@ -49,15 +53,6 @@ jobs:
inputs: inputs:
key: 'maven | "$(Agent.OS)" | "$(Build.SourceVersion)" | ./pom.xml' key: 'maven | "$(Agent.OS)" | "$(Build.SourceVersion)" | ./pom.xml'
path: $(MAVEN_CACHE_FOLDER) path: $(MAVEN_CACHE_FOLDER)
# - task: Maven@3
# env:
# JAVA_HOME_11_X64: /usr/java/openjdk-17
# displayName: Checkstyle Build
# inputs:
# mavenPomFile: 'hapi-fhir-checkstyle/pom.xml'
# goals: 'clean install'
# options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
# jdkVersionOption: 1.11
- task: Maven@3 - task: Maven@3
env: env:
JAVA_HOME_11_X64: /usr/java/openjdk-17 JAVA_HOME_11_X64: /usr/java/openjdk-17
@ -100,6 +95,8 @@ jobs:
- ${{ each p in parameters.modules }}: - ${{ each p in parameters.modules }}:
- ${{ p.name }} - ${{ p.name }}
steps: steps:
- checkout: self
fetchDepth: 1
- ${{ each p in parameters.modules }}: - ${{ each p in parameters.modules }}:
- task: Bash@3 - task: Bash@3
inputs: inputs: