Skip to content

Commit f9ed714

Browse files
committed
Set up CI with Azure Pipelines
[skip ci]
1 parent 3fcbd82 commit f9ed714

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

Diff for: azure-pipelines-1.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
trigger:
2+
- master
3+
4+
pool: default
5+
6+
steps:
7+
8+
- checkout: self
9+
persistCredentials: true
10+
11+
# dotTEST: Full checkout required to have full SCM data on a report
12+
- task: CmdLine@2
13+
displayName: Checkout $(Build.SourceBranchName)
14+
inputs:
15+
script: |
16+
git checkout $(Build.SourceBranchName)
17+
git pull
18+
19+
- task: RunDotTEST@0
20+
inputs:
21+
workingDir: '$(Pipeline.Workspace)'
22+
installDir: 'c:\Program Files\Parasoft\dotTEST\2021.2'
23+
solution: '.\**\*.sln'
24+
nobuild: true
25+
26+
- task: PublishBuildArtifacts@1
27+
inputs:
28+
PathtoPublish: '../report/report.sarif'
29+
ArtifactName: 'CodeAnalysisLogs' # Special name
30+
publishLocation: 'Container'
31+
32+
- task: PublishBuildArtifacts@1
33+
inputs:
34+
PathtoPublish: '../report'
35+
ArtifactName: 'DottestReports' # Special name
36+
publishLocation: 'Container'

0 commit comments

Comments
 (0)