Skip to content

Commit

Permalink
Corrected project file name at azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
mialeska committed Sep 13, 2019
1 parent 04358ce commit 2a34f34
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ steps:
- script: dotnet build Aquality.WinAppDriver/Aquality.WinAppDriver.sln -c $(buildConfiguration)
displayName: 'Build solution - $(buildConfiguration)'

- task: SonarCloudAnalyze@1
displayName: 'Run SonarCloud code analysis'
continueOnError: true
Expand All @@ -39,19 +40,21 @@ steps:
displayName: 'Start WinAppDriver'
inputs:
OperationType: 'Start'

- task: DotNetCoreCLI@2
displayName: 'Run tests'
inputs:
command: 'test'
projects: '**/*Tests*/*.csproj'
arguments: -c $(buildConfiguration) --no-build
publishTestResults: true

- task: Windows Application Driver@0
displayName: stop WinAppDriver
inputs:
OperationType: 'Stop'

- script: dotnet pack Aquality.WinAppDriver\src\Aquality.WinAppDriver\WinAppDriver.csproj -c $(buildConfiguration) --no-build -p:Version=$(GitVersion.NuGetVersion) -o $(Build.ArtifactStagingDirectory)
- script: dotnet pack Aquality.WinAppDriver\src\Aquality.WinAppDriver\Aquality.WinAppDriver.csproj -c $(buildConfiguration) --no-build -p:Version=$(GitVersion.NuGetVersion) -o $(Build.ArtifactStagingDirectory)
displayName: 'Create NuGet package'
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))

Expand Down

0 comments on commit 2a34f34

Please sign in to comment.