Skip to content
Merged
Show file tree
Hide file tree
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
36 changes: 0 additions & 36 deletions Deployment/templates/build-test-publish.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,9 @@
parameters:
# Disable the NVD dependency check job.
- name: DisableDependencyCheck
type: boolean
default: false

- name: DotNetVersion
type: string
default: '8.0.x'

jobs:
- job: Dependencychecker
condition: eq('${{ parameters.DisableDependencyCheck }}', false)
workspace:
clean: all
displayName: "Dependencychecker"
steps:
- task: UseDotNet@2
displayName: 'Use .NET SDK'
inputs:
packageType: sdk
version: $(SdkVersion)

- task: DotNetCoreCLI@2
displayName: ".Net Core - NuGet restore non test projects only"
inputs:
command: "restore"
projects: |
**/*.csproj
!**/*Tests.csproj
feedsToUse: config
noCache: true
nugetConfigPath: '$(Build.SourcesDirectory)\BuildNuget.config'
workingDirectory: '$(Build.SourcesDirectory)\UKHO.PeriodicOutputService'
packagesDirectory: '$(Build.SourcesDirectory)\UKHO.PeriodicOutputService\packages'

- template: dependency-checker/windows-dependency-checker.yaml@UKHOTemplates
parameters:
scanName: 'Periodic-Output-Service - $(Build.SourceBranchName)'
scanPath: '$(Build.SourcesDirectory)\UKHO.PeriodicOutputService'
suppressionPath: '$(Build.SourcesDirectory)\NVDSuppressions.xml'

- job: UnitTestsAndCodeCoverage
workspace:
clean: all
Expand Down
Loading
Loading