File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,8 @@ steps:
25
25
extraProperties : |
26
26
sonar.coverage.exclusions=**/**
27
27
28
- - task : DotNetCoreCLI@2
28
+ - script : dotnet build Aquality.Selenium/Aquality.Selenium.sln -c $(buildConfiguration)
29
29
displayName : ' Build solution - $(buildConfiguration)'
30
- inputs :
31
- command : ' build'
32
- projects : Aquality.Selenium/Aquality.Selenium.sln
33
- arguments : -c $(buildConfiguration) /p:Version=$(GitVersion.NuGetVersion)
34
30
35
31
- task : SonarCloudAnalyze@1
36
32
displayName : ' Run SonarCloud code analysis'
@@ -48,12 +44,8 @@ steps:
48
44
arguments : -c $(buildConfiguration) --no-build
49
45
publishTestResults : true
50
46
51
- - task : DotNetCoreCLI@2
47
+ - script : dotnet pack Aquality.Selenium\src\Aquality.Selenium\Aquality.Selenium.csproj -c $(buildConfiguration) --no-build -p:Version=$(GitVersion.NuGetVersion) -o $(Build.ArtifactStagingDirectory)
52
48
displayName : ' Create NuGet package'
53
- inputs :
54
- command : ' pack'
55
- projects : Aquality.Selenium/src/Aquality.Selenium/Aquality.Selenium.csproj
56
- arguments : -c $(buildConfiguration) -o $(Build.ArtifactStagingDirectory) /p:Version=$(GitVersion.NuGetVersion)
57
49
condition : and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
58
50
59
51
- task : NuGetCommand@2
You can’t perform that action at this time.
0 commit comments