changing fetch depth to 1 (#4056)
This commit is contained in:
parent
27ecba796b
commit
201cd73e3c
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue