Skip to content

Commit

Permalink
changing fetch depth to 1 (#4056)
Browse files Browse the repository at this point in the history
  • Loading branch information
markiantorno committed Sep 22, 2022
1 parent 27ecba7 commit 201cd73
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions test-job-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
pool:
vmImage: ubuntu-latest
steps:
- checkout: self
fetchDepth: 1
- task: Cache@2
inputs:
key: 'maven | "$(Agent.OS)" | "$(Build.SourceVersion)" | ./pom.xml'
Expand Down Expand Up @@ -38,6 +40,8 @@ jobs:
pool:
vmImage: ubuntu-latest
steps:
- checkout: self
fetchDepth: 1
- script: echo testing module ${{ p.module }}
- script: echo $(SourceBranchName)
- task: DockerInstaller@0
Expand All @@ -49,15 +53,6 @@ jobs:
inputs:
key: 'maven | "$(Agent.OS)" | "$(Build.SourceVersion)" | ./pom.xml'
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
env:
JAVA_HOME_11_X64: /usr/java/openjdk-17
Expand Down Expand Up @@ -100,6 +95,8 @@ jobs:
- ${{ each p in parameters.modules }}:
- ${{ p.name }}
steps:
- checkout: self
fetchDepth: 1
- ${{ each p in parameters.modules }}:
- task: Bash@3
inputs:
Expand Down

0 comments on commit 201cd73

Please sign in to comment.