Skip to content

Commit

Permalink
Fix create artifacts (#2)
Browse files Browse the repository at this point in the history
* Add sonar project name
* Update source link package
* Install new sdk for build pipeline
  • Loading branch information
glucaci committed Aug 7, 2019
1 parent 74aa1eb commit fd054e8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.cake
Expand Up @@ -141,6 +141,7 @@ Task("SonarBegin")
Url = "https://sonarcloud.io",
Login = sonarLogin,
Key = sonarKey,
Name = productName,
Organization = "swisslife",
VsTestReportsPath = "**/*.trx",
OpenCoverReportsPath = "**/*.opencover.xml",
Expand Down
6 changes: 6 additions & 0 deletions pull-request-build.yml
Expand Up @@ -16,6 +16,12 @@ workspace:
clean: all

steps:
- task: UseDotNet@2
displayName: 'Install .NET Core sdk'
inputs:
packageType: sdk
version: 2.2.401
installationPath: $(Agent.ToolsDirectory)/dotnet
- bash: ./build.sh -target=sonar
env:
Sonar_Token: $(Sonar_Token)
Expand Down
6 changes: 6 additions & 0 deletions release-build.yml
Expand Up @@ -10,6 +10,12 @@ variables:
- group: Tokens

steps:
- task: UseDotNet@2
displayName: 'Install .NET Core SDK'
inputs:
packageType: sdk
version: 2.2.401
installationPath: $(Agent.ToolsDirectory)/dotnet
- bash: ./build.sh -target=sonar
env:
Sonar_Token: $(Sonar_Token)
Expand Down
2 changes: 1 addition & 1 deletion src/Package.props
Expand Up @@ -25,7 +25,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-18618-05" PrivateAssets="All"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19367-01" PrivateAssets="All"/>
</ItemGroup>

</Project>

0 comments on commit fd054e8

Please sign in to comment.