forked from GregTrevellick/CleanArchitecture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
25 lines (25 loc) · 876 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
version: 1.0.{build}
image: Visual Studio 2017
branches:
only:
- master
environment:
my_encrypted_sonarqube_token:
secure: 94Py9ytqrmqFVtmUiyayJJ4Hgg2vjF1+YuRJldGGWO82/9zEens+sCjeh7wzc2Le
install:
- choco install "sonarscanner-msbuild-net46" -y
before_build:
- cmd: nuget restore vsixArtefacts/CleanArchitecture.Vsix.sln
- SonarScanner.MSBuild.exe begin /k:"CleanArchitecture" /d:"sonar.host.url=https://sonarqube.com" /d:"sonar.login=%my_encrypted_sonarqube_token%" /d:"sonar.organization=gregtrevellick-github"
build:
project: vsixArtefacts/CleanArchitecture.Vsix.sln
verbosity: minimal
after_build:
- SonarScanner.MSBuild.exe end /d:"sonar.login=%my_encrypted_sonarqube_token%"
notifications:
- provider: Email
to:
- gtrevellick@googlemail.com
on_build_success: false
on_build_failure: false
on_build_status_changed: true