File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,31 @@ pool:
16
16
vmImage : ' windows-latest'
17
17
18
18
steps :
19
- - task : PowerShell@2
20
- displayName : install calculator
19
+
20
+ - task : SonarCloudPrepare@1
21
+ displayName : ' Prepare SonarCloud analysis'
21
22
inputs :
22
- targetType : ' inline'
23
- script : ' Get-AppxPackage -allusers *windowscalculator* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}'
23
+ SonarCloud : ' SonarCloud'
24
+ organization : ' aqualityautomation'
25
+ projectKey : ' aquality-automation_aquality-selenium-core-dotnet'
26
+ projectName : ' aquality-selenium-core-dotnet'
27
+ projectVersion : ' $(Build.BuildNumber)'
28
+ extraProperties : |
29
+ sonar.coverage.exclusions=**/**
24
30
25
31
- script : dotnet build Aquality.Selenium.Core/Aquality.Selenium.Core.sln -c $(buildConfiguration)
26
32
displayName : ' Build solution - $(buildConfiguration)'
33
+
34
+ - task : SonarCloudAnalyze@1
35
+ displayName : ' Run SonarCloud code analysis'
36
+ continueOnError : true
37
+
38
+ - task : SonarCloudPublish@1
39
+ displayName : ' Publish SonarCloud quality gate results'
40
+ continueOnError : true
41
+
27
42
- task : Windows Application Driver@0
28
- displayName : start WinAppDriver
43
+ displayName : ' Start WinAppDriver'
29
44
inputs :
30
45
OperationType : ' Start'
31
46
- task : DotNetCoreCLI@2
You can’t perform that action at this time.
0 commit comments