@ -11,13 +11,8 @@ variables:
minorVersion : $[counter('minorVersion', 2000)]
minorVersion : $[counter('minorVersion', 2000)]
radarrVersion : '$(majorVersion).$(minorVersion)'
radarrVersion : '$(majorVersion).$(minorVersion)'
buildName : '$(Build.SourceBranchName).$(radarrVersion)'
buildName : '$(Build.SourceBranchName).$(radarrVersion)'
windowsInstaller : 'Radarr.$(buildName).windows-installer.exe'
windowsZip : 'Radarr.$(buildName).windows.zip'
macOsApp : 'Radarr.$(buildName).osx-app.zip'
macOsTar : 'Radarr.$(buildName).osx.tar.gz'
linuxTar : 'Radarr.$(buildName).linux.tar.gz'
sentryOrg : 'radarr'
sentryOrg : 'radarr'
dotnetVersion : ' 2.2 .x'
dotnetVersion : '3.0.x'
trigger:
trigger:
branches:
branches:
@ -45,7 +40,7 @@ stages:
imageName : 'macos-10.13'
imageName : 'macos-10.13'
Windows:
Windows:
osName : 'Windows'
osName : 'Windows'
imageName : ' vs2017-win2016 '
imageName : ' windows-2019 '
pool:
pool:
vmImage : $(imageName)
vmImage : $(imageName)
@ -57,10 +52,11 @@ stages:
submodules : true
submodules : true
fetchDepth : 1
fetchDepth : 1
- task : UseDotNet@2
- task : UseDotNet@2
displayName : 'Install .net core 2.2 '
displayName : 'Install .net core 3.0 '
inputs:
inputs:
version : $(dotnetVersion)
version : $(dotnetVersion)
- bash : ./build.sh --only-backend
condition : ne(variables['osName'], 'Windows')
- bash : ./build.sh --backend
displayName : Build Radarr Backend
displayName : Build Radarr Backend
- bash : |
- bash : |
find ${OUTPUTFOLDER} -type f ! -path "*/publish/*" -exec rm -rf {} \;
find ${OUTPUTFOLDER} -type f ! -path "*/publish/*" -exec rm -rf {} \;
@ -87,11 +83,11 @@ stages:
condition : and(succeeded(), eq(variables['osName'], 'Windows'))
condition : and(succeeded(), eq(variables['osName'], 'Windows'))
- stage : Build_Frontend
- stage : Build_Frontend
displayName : Build Frontend
displayName : Frontend
dependsOn : [ ]
dependsOn : [ ]
jobs:
jobs:
- job : Fronten d
- job : Buil d
strategy:
strategy:
matrix:
matrix:
Linux:
Linux:
@ -102,7 +98,7 @@ stages:
imageName : 'macos-10.13'
imageName : 'macos-10.13'
Windows:
Windows:
osName : 'Windows'
osName : 'Windows'
imageName : ' vs2017-win2016 '
imageName : ' windows-2019 '
pool:
pool:
vmImage : $(imageName)
vmImage : $(imageName)
steps:
steps:
@ -113,7 +109,7 @@ stages:
- checkout : self
- checkout : self
submodules : true
submodules : true
fetchDepth : 1
fetchDepth : 1
- bash : ./build.sh -- only- frontend
- bash : ./build.sh -- frontend
displayName : Build Radarr Frontend
displayName : Build Radarr Frontend
env:
env:
FORCE_COLOR : 0
FORCE_COLOR : 0
@ -122,7 +118,7 @@ stages:
displayName : Publish Frontend
displayName : Publish Frontend
condition : and(succeeded(), eq(variables['osName'], 'Windows'))
condition : and(succeeded(), eq(variables['osName'], 'Windows'))
- stage : Package
- stage : Installer
dependsOn:
dependsOn:
- Build_Backend
- Build_Backend
- Build_Frontend
- Build_Frontend
@ -130,7 +126,7 @@ stages:
- job : Windows_Installer
- job : Windows_Installer
displayName : Create Installer
displayName : Create Installer
pool:
pool:
vmImage : ' vs2017-win2016 '
vmImage : ' windows-2019 '
steps:
steps:
- checkout : self
- checkout : self
fetchDepth : 1
fetchDepth : 1
@ -146,16 +142,21 @@ stages:
artifactName : WindowsFrontend
artifactName : WindowsFrontend
targetPath : _output
targetPath : _output
displayName : Fetch Frontend
displayName : Fetch Frontend
- bash : ./build.sh -- only- packages
- bash : ./build.sh -- packages
displayName : Create Packages
displayName : Create Packages
- bash : |
- bash : |
./setup/inno/ISCC.exe "./setup/radarr.iss"
setup/inno/ISCC.exe setup/radarr.iss //DFramework=net462
cp ./setup/output/Radarr.*windows.exe ${BUILD_ARTIFACTSTAGINGDIRECTORY}/${WINDOWSINSTALLER}
cp setup/output/Radarr.*windows.net462.exe ${BUILD_ARTIFACTSTAGINGDIRECTORY}/Radarr.${BUILDNAME}.windows-installer.exe
displayName : Create Windows installer
displayName : Create .NET 462 Windows installer
- publish : $(Build.ArtifactStagingDirectory)
- publish : $(Build.ArtifactStagingDirectory)
artifact : 'WindowsInstaller'
artifact : 'WindowsInstaller'
displayName : Publish Installer
displayName : Publish Installer
- stage : Packages
dependsOn:
- Build_Backend
- Build_Frontend
jobs:
- job : Other_Packages
- job : Other_Packages
displayName : Create Standard Packages
displayName : Create Standard Packages
pool:
pool:
@ -175,31 +176,30 @@ stages:
artifactName : WindowsFrontend
artifactName : WindowsFrontend
targetPath : _output
targetPath : _output
displayName : Fetch Frontend
displayName : Fetch Frontend
- bash : ./build.sh -- only- packages
- bash : ./build.sh -- packages
displayName : Create Packages
displayName : Create Packages
- bash : |
- bash : |
chmod a+x $(artifactsFolder)/macos/Radarr/Radarr
find . -name "Radarr" -exec chmod a+x {} \;
chmod a+x $(artifactsFolder)/macos-app/Radarr.app/Contents/MacOS/Radarr
find . -name "Radarr.Update" -exec chmod a+x {} \;
find . -name "Radarr.Console" -exec chmod a+x {} \;
displayName : Set executable bits
displayName : Set Mac executable bits
- task : ArchiveFiles@2
- task : ArchiveFiles@2
displayName : Create Windows zip
displayName : Create Windows zip
inputs:
inputs:
archiveFile : '$(Build.ArtifactStagingDirectory)/ $(windowsZip) '
archiveFile : '$(Build.ArtifactStagingDirectory)/ Radarr.$(buildName).windows.zip '
archiveType : 'zip'
archiveType : 'zip'
includeRootFolder : false
includeRootFolder : false
rootFolderOrFile : $(artifactsFolder)/windows/net462
rootFolderOrFile : $(artifactsFolder)/windows/net462
- task : ArchiveFiles@2
- task : ArchiveFiles@2
displayName : Create MacOS app
displayName : Create MacOS app
inputs:
inputs:
archiveFile : '$(Build.ArtifactStagingDirectory)/ $(macOsApp) '
archiveFile : '$(Build.ArtifactStagingDirectory)/ Radarr.$(buildName).osx-app.zip '
archiveType : 'zip'
archiveType : 'zip'
includeRootFolder : false
includeRootFolder : false
rootFolderOrFile : $(artifactsFolder)/macos-app/net462
rootFolderOrFile : $(artifactsFolder)/macos-app/net462
- task : ArchiveFiles@2
- task : ArchiveFiles@2
displayName : Create MacOS tar
displayName : Create MacOS tar
inputs:
inputs:
archiveFile : '$(Build.ArtifactStagingDirectory)/ $(macOsTar) '
archiveFile : '$(Build.ArtifactStagingDirectory)/ Radarr.$(buildName).osx.tar.gz '
archiveType : 'tar'
archiveType : 'tar'
tarCompression : 'gz'
tarCompression : 'gz'
includeRootFolder : false
includeRootFolder : false
@ -207,11 +207,11 @@ stages:
- task : ArchiveFiles@2
- task : ArchiveFiles@2
displayName : Create Linux tar
displayName : Create Linux tar
inputs:
inputs:
archiveFile : '$(Build.ArtifactStagingDirectory)/ $(linuxTar) '
archiveFile : '$(Build.ArtifactStagingDirectory)/ Radarr.$(buildName).linux.tar.gz '
archiveType : 'tar'
archiveType : 'tar'
tarCompression : 'gz'
tarCompression : 'gz'
includeRootFolder : false
includeRootFolder : false
rootFolderOrFile : $(artifactsFolder)/linux /net462
rootFolderOrFile : $(artifactsFolder)/linux -x64 /net462
- publish : $(Build.ArtifactStagingDirectory)
- publish : $(Build.ArtifactStagingDirectory)
artifact : 'Packages'
artifact : 'Packages'
displayName : Publish Packages
displayName : Publish Packages
@ -235,30 +235,21 @@ stages:
condition : succeeded()
condition : succeeded()
jobs:
jobs:
- job : Unit
- job : Unit
displayName : Unit Native
strategy:
strategy:
matrix:
matrix:
Linux:
osName : 'Linux'
imageName : 'ubuntu-16.04'
failBuild : true
Mac:
Mac:
osName : 'Mac'
osName : 'Mac'
imageName : 'macos-10.13'
imageName : 'macos-10.13'
failBuild : false
Windows:
Windows:
osName : 'Windows'
osName : 'Windows'
imageName : 'vs2017-win2016'
imageName : 'windows-2019'
failBuild : true
pool:
pool:
vmImage : $(imageName)
vmImage : $(imageName)
steps:
steps:
- checkout : none
- checkout : none
- task : UseDotNet@2
displayName : 'Install .net core 2.2'
inputs:
version : $(dotnetVersion)
- task : DownloadPipelineArtifact@2
- task : DownloadPipelineArtifact@2
displayName : Download Test Artifact
displayName : Download Test Artifact
inputs:
inputs:
@ -270,12 +261,19 @@ stages:
sudo dpkg -i repo-mediaarea_1.0-9_all.deb
sudo dpkg -i repo-mediaarea_1.0-9_all.deb
sudo apt-get update
sudo apt-get update
sudo apt-get install -y libmediainfo-dev libmediainfo0v5 mediainfo
sudo apt-get install -y libmediainfo-dev libmediainfo0v5 mediainfo
sudo ln -s /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 /usr/lib/x86_64-linux-gnu/libsqlite3.so
displayName : Install mediainfo
displayName : Install mediainfo and fix sqlite
condition : and(succeeded(), eq(variables['osName'], 'Linux'))
condition : and(succeeded(), eq(variables['osName'], 'Linux'))
- powershell : Set-Service SCardSvr -StartupType Manual
- powershell : Set-Service SCardSvr -StartupType Manual
displayName : Enable Windows Test Service
displayName : Enable Windows Test Service
condition : and(succeeded(), eq(variables['osName'], 'Windows'))
condition : and(succeeded(), eq(variables['osName'], 'Windows'))
- bash : |
SYMLINK=5_18_1
MONOPREFIX=/Library/Frameworks/Mono.framework/Versions/$SYMLINK
echo "##vso[task.setvariable variable=MONOPREFIX;]$MONOPREFIX"
echo "##vso[task.setvariable variable=PKG_CONFIG_PATH;]$MONOPREFIX/lib/pkgconfig:$MONOPREFIX/share/pkgconfig:$PKG_CONFIG_PATH"
echo "##vso[task.setvariable variable=PATH;]$MONOPREFIX/bin:$PATH"
displayName : Set Mono Version
condition : and(succeeded(), eq(variables['osName'], 'Mac'))
- bash : find ${TESTSFOLDER} -name "Radarr.Test.Dummy" -exec chmod a+x {} \;
- bash : find ${TESTSFOLDER} -name "Radarr.Test.Dummy" -exec chmod a+x {} \;
displayName : Make Test Dummy Executable
displayName : Make Test Dummy Executable
- task : Bash@3
- task : Bash@3
@ -292,28 +290,87 @@ stages:
testResultsFormat : 'NUnit'
testResultsFormat : 'NUnit'
testResultsFiles : '**/TestResult.xml'
testResultsFiles : '**/TestResult.xml'
testRunTitle : '$(osName) Unit Tests'
testRunTitle : '$(osName) Unit Tests'
failTaskOnFailedTests : $(failBuild)
failTaskOnFailedTests : true
- job : Unit_Docker
displayName : Unit Docker
strategy:
matrix:
mono510:
testName : 'Mono 5.10'
containerImage : radarr/testimages:mono-5.10
mono512:
testName : 'Mono 5.12'
containerImage : radarr/testimages:mono-5.12
mono514:
testName : 'Mono 5.14'
containerImage : radarr/testimages:mono-5.14
mono516:
testName : 'Mono 5.16'
containerImage : radarr/testimages:mono-5.16
mono518:
testName : 'Mono 5.18'
containerImage : radarr/testimages:mono-5.18
mono520:
testName : 'Mono 5.20'
containerImage : radarr/testimages:mono-5.20
mono600:
testName : 'Mono 6.0'
containerImage : radarr/testimages:mono-6.0
mono604:
testName : 'Mono 6.4'
containerImage : radarr/testimages:mono-6.4
mono606:
testName : 'Mono 6.6'
containerImage : radarr/testimages:mono-6.6
pool:
vmImage : 'ubuntu-16.04'
container : $[ variables['containerImage'] ]
- stage : Integration_Automation
timeoutInMinutes : 10
displayName : Integration / Automation
dependsOn : Package
steps:
- bash : mono --version
displayName : Check Mono version
- checkout : none
- task : DownloadPipelineArtifact@2
displayName : Download Test Artifact
inputs:
buildType : 'current'
artifactName : LinuxTests
targetPath : $(testsFolder)
- task : Bash@3
displayName : Run Tests
inputs:
targetType : 'filePath'
filePath : '$(testsFolder)/test.sh'
arguments : 'Linux Unit Test'
- task : PublishTestResults@2
displayName : Publish Test Results
inputs:
testResultsFormat : 'NUnit'
testResultsFiles : '**/TestResult.xml'
testRunTitle : '$(testName) Unit Tests'
failTaskOnFailedTests : true
- stage : Integration
displayName : Integration
dependsOn : Packages
jobs:
jobs:
- job : Integration_Native
- job : Integration_Native
displayName : Integration Native
displayName : Integration Native
strategy:
strategy:
matrix:
matrix:
Linux:
osName : 'Linux'
imageName : 'ubuntu-16.04'
pattern : 'Radarr.**.linux.tar.gz'
Mac:
Mac:
osName : 'Mac'
osName : 'Mac'
imageName : 'macos-10.13'
imageName : 'macos-10.13'
pattern : 'Radarr.**.osx.tar.gz'
pattern : 'Radarr.**.osx.tar.gz'
Windows:
Windows:
osName : 'Windows'
osName : 'Windows'
imageName : 'vs2017-win2016'
imageName : ' windows-2019 '
pattern : 'Radarr.**.windows.zip'
pattern : 'Radarr.**.windows.zip'
pool:
pool:
@ -323,19 +380,11 @@ stages:
- bash : |
- bash : |
SYMLINK=5_18_1
SYMLINK=5_18_1
MONOPREFIX=/Library/Frameworks/Mono.framework/Versions/$SYMLINK
MONOPREFIX=/Library/Frameworks/Mono.framework/Versions/$SYMLINK
echo "##vso[task.setvariable variable= DYLD_FALLBACK_LIBRARY_PATH;].:$MONOPREFIX/lib:/lib:/usr/lib:$DYLD_LIBRARY_FALLBACK_PATH "
echo "##vso[task.setvariable variable= MONOPREFIX;]$MONOPREFIX "
echo "##vso[task.setvariable variable=PKG_CONFIG_PATH;]$MONOPREFIX/lib/pkgconfig:$MONOPREFIX/share/pkgconfig:$PKG_CONFIG_PATH"
echo "##vso[task.setvariable variable=PKG_CONFIG_PATH;]$MONOPREFIX/lib/pkgconfig:$MONOPREFIX/share/pkgconfig:$PKG_CONFIG_PATH"
echo "##vso[task.setvariable variable=PATH;]$MONOPREFIX/bin:$PATH"
echo "##vso[task.setvariable variable=PATH;]$MONOPREFIX/bin:$PATH"
displayName : Set Mono Version
displayName : Set Mono Version
condition : and(succeeded(), eq(variables['osName'], 'Mac'))
condition : and(succeeded(), eq(variables['osName'], 'Mac'))
- bash : |
sudo ln -s /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 /usr/lib/x86_64-linux-gnu/libsqlite3.so
displayName : Fix sqlite
condition : and(succeeded(), eq(variables['osName'], 'Linux'))
- task : UseDotNet@2
displayName : 'Install .net core 2.2'
inputs:
version : $(dotnetVersion)
- checkout : none
- checkout : none
- task : DownloadPipelineArtifact@2
- task : DownloadPipelineArtifact@2
displayName : Download Test Artifact
displayName : Download Test Artifact
@ -358,7 +407,6 @@ stages:
- bash : |
- bash : |
mkdir -p ./bin/
mkdir -p ./bin/
cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Radarr/. ./bin/
cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Radarr/. ./bin/
ls -lR
displayName : Move Package Contents
displayName : Move Package Contents
- task : Bash@3
- task : Bash@3
displayName : Run Integration Tests
displayName : Run Integration Tests
@ -378,31 +426,34 @@ stages:
displayName : Integration Docker
displayName : Integration Docker
strategy:
strategy:
matrix:
matrix:
mono504:
testName : 'Mono 5.4'
containerImage : mono:5.4
mono508:
testName : 'Mono 5.8'
containerImage : mono:5.8
mono510:
mono510:
testName : 'Mono 5.10'
testName : 'Mono 5.10'
containerImage : mono: 5.10
containerImage : radarr/testimages:mono-5.10
mono512:
mono512:
testName : 'Mono 5.12'
testName : 'Mono 5.12'
containerImage : mono: 5.12
containerImage : radarr/testimages:mono-5.12
mono514:
mono514:
testName : 'Mono 5.14'
testName : 'Mono 5.14'
containerImage : mono: 5.14
containerImage : radarr/testimages:mono- 5.14
mono516:
mono516:
testName : 'Mono 5.16'
testName : 'Mono 5.16'
containerImage : mono: 5.16
containerImage : radarr/testimages:mono- 5.16
mono518:
mono518:
testName : 'Mono 5.18'
testName : 'Mono 5.18'
containerImage : mono: 5.18
containerImage : radarr/testimages:mono- 5.18
mono520:
mono520:
testName : 'Mono 5.20'
testName : 'Mono 5.20'
containerImage : mono:5.20
containerImage : radarr/testimages:mono-5.20
mono600:
testName : 'Mono 6.0'
containerImage : radarr/testimages:mono-6.0
mono604:
testName : 'Mono 6.4'
containerImage : radarr/testimages:mono-6.4
mono606:
testName : 'Mono 6.6'
containerImage : radarr/testimages:mono-6.6
variables:
variables:
pattern : 'Radarr.**.linux.tar.gz'
pattern : 'Radarr.**.linux.tar.gz'
@ -410,14 +461,12 @@ stages:
vmImage : 'ubuntu-16.04'
vmImage : 'ubuntu-16.04'
container : $[ variables['containerImage'] ]
container : $[ variables['containerImage'] ]
timeoutInMinutes : 15
steps:
steps:
- bash : mono --version
- bash : mono --version
displayName : Check Mono version
displayName : Check Mono version
- task : UseDotNet@2
displayName : 'Install .net core 2.2'
inputs:
version : $(dotnetVersion)
- checkout : none
- checkout : none
- task : DownloadPipelineArtifact@2
- task : DownloadPipelineArtifact@2
displayName : Download Test Artifact
displayName : Download Test Artifact
@ -456,6 +505,11 @@ stages:
failTaskOnFailedTests : true
failTaskOnFailedTests : true
displayName : Publish Test Results
displayName : Publish Test Results
- stage : Automation
displayName : Automation
dependsOn : Packages
jobs:
- job : Automation
- job : Automation
strategy:
strategy:
matrix:
matrix:
@ -471,7 +525,7 @@ stages:
failBuild : false
failBuild : false
Windows:
Windows:
osName : 'Windows'
osName : 'Windows'
imageName : ' vs2017-win2016 '
imageName : ' windows-2019 '
pattern : 'Radarr.**.windows.zip'
pattern : 'Radarr.**.windows.zip'
failBuild : true
failBuild : true
@ -479,14 +533,6 @@ stages:
vmImage : $(imageName)
vmImage : $(imageName)
steps:
steps:
- bash : |
sudo ln -s /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 /usr/lib/x86_64-linux-gnu/libsqlite3.so
displayName : Fix sqlite
condition : and(succeeded(), eq(variables['osName'], 'Linux'))
- task : UseDotNet@2
displayName : 'Install .net core 2.2'
inputs:
version : $(dotnetVersion)
- checkout : none
- checkout : none
- task : DownloadPipelineArtifact@2
- task : DownloadPipelineArtifact@2
displayName : Download Test Artifact
displayName : Download Test Artifact
@ -539,63 +585,97 @@ stages:
failTaskOnFailedTests : $(failBuild)
failTaskOnFailedTests : $(failBuild)
displayName : Publish Test Results
displayName : Publish Test Results
# - stage: Analyze
- stage : Analyze
# dependsOn: [ ]
dependsOn : [ ]
# displayName: Analyze
displayName : Analyze
# condition: eq(variables['system.pullrequest.isfork'], false)
# jobs:
jobs:
# # - job: Analyze_Frontend
- job : Lint_Frontend
# # displayName: Frontend
displayName : Lint Frontend
# # pool:
strategy:
# # vmImage: vs2017-win2016
matrix:
# # steps:
Linux:
# # - checkout: self # Need history for Sonar analysis
osName : 'Linux'
# # - task: SonarCloudPrepare@1
imageName : 'ubuntu-16.04'
# # env:
Windows:
# # SONAR_SCANNER_OPTS: ''
osName : 'Windows'
# # inputs:
imageName : 'windows-2019'
# # SonarCloud: 'SonarCloud'
pool:
# # organization: 'radarr'
vmImage : $(imageName)
# # scannerMode: 'CLI'
steps:
# # configMode: 'manual'
- task : NodeTool@0
# # cliProjectKey: 'radarr_Radarr.UI'
displayName : Set Node.js version
# # cliProjectName: 'RadarrUI'
inputs:
# # cliProjectVersion: '$(radarrVersion)'
versionSpec : '10.x'
# # cliSources: './frontend'
- checkout : self
# # - task: SonarCloudAnalyze@1
submodules : true
fetchDepth : 1
- bash : ./build.sh --lint
displayName : Lint Radarr Frontend
env:
FORCE_COLOR : 0
# - job: Analyze_Frontend
# displayName: Frontend
# condition: eq(variables['system.pullrequest.isfork'], false)
# pool:
# vmImage: windows-2019
# steps:
# - checkout: self # Need history for Sonar analysis
# - task: SonarCloudPrepare@1
# env:
# SONAR_SCANNER_OPTS: ''
# inputs:
# SonarCloud: 'SonarCloud'
# organization: 'radarr'
# scannerMode: 'CLI'
# configMode: 'manual'
# cliProjectKey: 'radarr_Radarr.UI'
# cliProjectName: 'RadarrUI'
# cliProjectVersion: '$(radarrVersion)'
# cliSources: './frontend'
# - task: SonarCloudAnalyze@1
# - job: Analyze_Backend
# - job: Analyze_Backend
# displayName: Backend
# displayName: Backend
# pool:
# condition: eq(variables['system.pullrequest.isfork'], false)
# vmImage: vs2017-win2016
# pool:
# steps:
# vmImage: windows-2019
# - checkout: self # Need history for Sonar analysis
# steps:
# submodules: true
# - checkout: self # Need history for Sonar analysis
# - task: SonarCloudPrepare@1
# submodules: true
# inputs:
# - task: UseDotNet@2
# SonarCloud: 'SonarCloud'
# displayName: 'Install .net core 3.0'
# organization: 'radarr'
# inputs:
# scannerMode: 'MSBuild'
# version: $(dotnetVersion)
# projectKey: 'radarr_Radarr'
# - task: SonarCloudPrepare@1
# projectName: 'Radarr'
# inputs:
# projectVersion: '$(radarrVersion)'
# SonarCloud: 'SonarCloud'
# extraProperties: |
# organization: 'radarr'
# sonar.exclusions=**/obj/**,**/*.dll,**/NzbDrone.Core.Test/Files/**/*,./frontend/**,**/ExternalModules/**,./src/Libraries/**
# scannerMode: 'MSBuild'
# sonar.coverage.exclusions=**/Radarr.Api.V1/**/*,**/MonoTorrent/**/*,**/Marr.Data/**/*
# projectKey: 'radarr_Radarr'
# sonar.cs.opencover.reportsPaths=$(Build.SourcesDirectory)/_tests/CoverageResults/coverage.opencover.xml
# projectName: 'Radarr'
# sonar.cs.nunit.reportsPaths=$(Build.SourcesDirectory)/TestResult.xml
# projectVersion: '$(radarrVersion)'
# - bash: ./build.sh --only-backend
# extraProperties: |
# displayName: Build Radarr Backend
# sonar.exclusions=**/obj/**,**/*.dll,**/NzbDrone.Core.Test/Files/**/*,./frontend/**,**/ExternalModules/**,./src/Libraries/**
# - task: Bash@3
# sonar.coverage.exclusions=**/Radarr.Api.V1/**/*,**/MonoTorrent/**/*,**/Marr.Data/**/*
# displayName: Coverage Unit Tests
# sonar.cs.opencover.reportsPaths=$(Build.SourcesDirectory)/_tests/CoverageResults/coverage.opencover.xml
# inputs:
# sonar.cs.nunit.reportsPaths=$(Build.SourcesDirectory)/TestResult.xml
# targetType: 'filePath'
# - task: DotNetCoreCLI@2
# filePath: ./test.sh
# displayName: Build backend
# arguments: Windows Unit Coverage
# inputs:
# - task: PublishCodeCoverageResults@1
# command: 'build'
# displayName: Publish Coverage Results
# projects: 'src/Radarr.Windows.sln'
# inputs:
# - task: Bash@3
# codeCoverageTool: 'cobertura'
# displayName: Coverage Unit Tests
# summaryFileLocation: './_tests/CoverageResults/coverage.cobertura.xml'
# inputs:
# # - task: SonarCloudAnalyze@1
# targetType: 'filePath'
# filePath: ./test.sh
# arguments: Windows Unit Coverage
# - task: PublishCodeCoverageResults@1
# displayName: Publish Coverage Results
# inputs:
# codeCoverageTool: 'cobertura'
# summaryFileLocation: './_tests/CoverageResults/coverage.cobertura.xml'
# - task: SonarCloudAnalyze@1