File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ next-version : 1.0
2
+ mode : Mainline
3
+ increment : Inherit
4
+ branches : {}
5
+ ignore :
6
+ sha : []
Original file line number Diff line number Diff line change
1
+ trigger :
2
+ - master
3
+
4
+ pool :
5
+ vmImage : ' windows-latest'
6
+
7
+ variables :
8
+ buildConfiguration : ' Release'
9
+
10
+ stages :
11
+ - stage : test
12
+
13
+ jobs :
14
+ - job : sonar
15
+ displayName : Analyse code with SonarQube
16
+
17
+ steps :
18
+ - task : SonarCloudPrepare@1
19
+ displayName : ' Prepare SonarCloud analysis'
20
+ inputs :
21
+ SonarCloud : ' SonarCloud'
22
+ organization : ' aqualityautomation'
23
+ projectKey : ' aquality-automation_aquality-tracking-integrations-dotnet'
24
+ projectName : ' aquality-tracking-integrations-dotnet'
25
+ projectVersion : ' $(Build.BuildNumber)'
26
+ extraProperties : |
27
+ sonar.coverage.exclusions=**/**
28
+
29
+ - task : DotNetCoreCLI@2
30
+ displayName : ' Build solution'
31
+ inputs :
32
+ command : ' build'
33
+ projects : AqualityTracking.Integrations/AqualityTracking.Integrations.sln
34
+ arguments : -c $(buildConfiguration)
35
+
36
+ - task : SonarCloudAnalyze@1
37
+ displayName : ' Run SonarCloud code analysis'
38
+ continueOnError : true
39
+
40
+ - task : SonarCloudPublish@1
41
+ displayName : ' Publish SonarCloud quality gate results'
You can’t perform that action at this time.
0 commit comments