-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
34 lines (34 loc) · 1.4 KB
/
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
26
27
28
29
30
31
32
33
34
version: 2.0.{build}
artifacts:
- path: build\artifacts\*.update
name: Sitecore.SolrProxy
before_build:
- nuget sources add -Name SitecorePublicFeed -Source https://sitecore.myget.org/F/sc-packages/api/v3/index.json
- nuget restore Sitecore.SolrProxy.sln
- SonarScanner.MSBuild.exe begin /k:"Sitecore.SolrProxy" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.login=%sonar_token%" /n:"Sitecore.SolrProxy" /o:"antonytm-github"
build:
project: Sitecore.SolrProxy.sln
after_build:
- SonarScanner.MSBuild.exe end /d:"sonar.login=%sonar_token%"
- ps: .\build\build.ps1
environment:
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk13
sonar_token:
secure: 5ZTmF0ff7qEIVt7qEgJpSCBcopbSqY3O0uv3gMLJZ9M04A6MyHoz9FAqP6HI/7eX
deploy:
release: Sitecore.SolrProxy-v$(appveyor_build_version)
description: 'Solr admin in Sitecore'
provider: GitHub
auth_token:
secure: rkLSxUbN2YMMG/r6lzLq1PN0n07dqJBtk/8ZR2c/InGy0SBOsmqGXfIQWMQOZUAs
draft: false
prerelease: false
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only
install:
- ps: Install-Module -Name Sitecore.Courier -Force
- ps: Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- choco install sitecore-courier
- choco install sonarscanner-msbuild-net46 -y