This repository was archived by the owner on Mar 26, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
51 lines (41 loc) · 1.43 KB
/
azure-pipelines.yml
File metadata and controls
51 lines (41 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
resources:
- repo: self
queue:
name: Hosted VS2017
demands:
- msbuild
- visualstudio
- vstest
steps:
- task: NuGetToolInstaller@0
displayName: 'Use NuGet 4.4.1'
inputs:
versionSpec: 4.4.1
- task: NuGetCommand@2
displayName: 'NuGet restore'
inputs:
restoreSolution: '$(Parameters.solution)'
- task: kherzog.AssemblyInfoReader.assembly-info-reader-build-task.AssembyInfoReader@1
displayName: 'Generate variables $(Build.SourcesDirectory)\HBM.WT.API\Properties\AssemblyInfo.cs '
inputs:
searchPattern: '$(Build.SourcesDirectory)\SharpJet\Properties\AssemblyInfo.cs'
- task: bool.update-assembly-info.update-assembly-info-task.update-assembly-info@2
displayName: 'Update Assembly: **\*AssemblyInfo.*'
inputs:
informationalVersion: '$(AssemblyInfo.AssemblyFileVersion.Major).$(AssemblyInfo.AssemblyFileVersion.Minor).$(AssemblyInfo.AssemblyFileVersion.Patch).$(Build.SourceVersion)'
- task: VSBuild@1
displayName: 'Build solution **\*.sln'
inputs:
solution: '$(Parameters.solution)'
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
- task: VSTest@2
displayName: 'VsTest - testAssemblies'
inputs:
testAssemblyVer2: |
**\$(BuildConfiguration)\*test*.dll
!**\obj\**
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
- task: solidify-labs.chucknorris-build-enhancer.chuck-norris-task.ChuckNorrisTask@0
displayName: 'Chuck Norris Quotes'