From 4e8da618f39be3c62d301591a91d34a666ab0c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20L=2E=20Charlier?= Date: Sun, 1 Jan 2023 18:21:00 +0100 Subject: [PATCH] Delete azure-pipelines.yml --- azure-pipelines.yml | 119 -------------------------------------------- 1 file changed, 119 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index d52135597..000000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,119 +0,0 @@ -pool: - name: Hosted VS2017 - demands: - - msbuild - - visualstudio - - vstest - -steps: -- script: 'gitversion /l console /output buildserver /updateAssemblyInfo' - displayName: 'Run GitVersion' -- task: NuGetToolInstaller@0 - displayName: 'Use NuGet 4.4.1' - inputs: - versionSpec: 4.4.1 - -- task: NuGetCommand@2 - displayName: 'NuGet restore' - inputs: - restoreSolution: '$(Parameters.solution)' - -- script: 'clone-extensions.cmd' - displayName: 'Clone extensions' - -- task: VSBuild@1 - displayName: 'Build solution *.sln' - inputs: - solution: '$(Parameters.solution)' - vsVersion: 15.0 - platform: '$(BuildPlatform)' - configuration: '$(BuildConfiguration)' - - - -- task: petergroenewegen.PeterGroenewegen-Xpirit-Vsts-Build-InlinePowershell.Xpirit-Vsts-Build-InlinePowershell.InlinePowershell@1 - displayName: 'Adapt connection-strings for testing' - inputs: - Script: | - Param( - [string]$sourcePath, - [string]$buildServer - ) - Write-Output "Adapting connection-strings for testing on $buildServer" - - $buildServerName = ($buildServer -replace '\s','').ToLower() - - $basePath = $sourcePath + "\NBi.Testing\bin\Debug" - $userConfig = $basePath + "\ConnectionString.user.config" - $bsConfig = $basePath + "\ConnectionString.$buildServerName.config" - - Write-Output "Checking for connection-strings' configuration at $bsConfig" - if (Test-Path $bsConfig) - { - if (Test-Path $userConfig) - { - Remove-Item $userConfig - } - Rename-Item -Path $bsConfig -NewName ConnectionString.user.config - Write-Output "Connection-strings' configuration updated" - } - else - { - Write-Output "No specific configuration found" - } - ScriptArguments: '-sourcePath $(System.DefaultWorkingDirectory) -buildServer ''Azure DevOps'' - -- task: VSTest@2 - displayName: 'VsTest - testAssemblies' - inputs: - testAssemblyVer2: 'NBi.Testing*\bin\debug\NBi.Testing*.dll' - testFiltercriteria: 'TestCategory!=Olap & TestCategory!=Etl & TestCategory!=WindowsService & TestCategory!=ReportServerDB & TestCategory!=LocalSQL' - vsTestVersion: 15.0 - codeCoverageEnabled: false - diagnosticsEnabled: True - -- task: PowerShell@2 - displayName: 'Package Nuget' - inputs: - targetType: filePath - filePath: './.packages\package-NBi.ps1' - arguments: '$env:GitVersion_NuGetVersionV2' - -- task: CopyFiles@2 - displayName: 'Copy Files to: $(build.artifactstagingdirectory)\Framework' - inputs: - SourceFolder: '$(system.defaultworkingdirectory)\NBi.NUnit.Runtime\bin\Debug\' - TargetFolder: '$(build.artifactstagingdirectory)\Framework' - CleanTargetFolder: true - condition: succeededOrFailed() - -- task: CopyFiles@2 - displayName: 'Copy Files to: $(build.artifactstagingdirectory)\UI' - inputs: - SourceFolder: '$(system.defaultworkingdirectory)\NBi.UI.Genbi\bin\Debug' - TargetFolder: '$(build.artifactstagingdirectory)\UI' - CleanTargetFolder: true - condition: succeededOrFailed() - -- task: CopyFiles@2 - displayName: 'Copy Files to: $(build.artifactstagingdirectory)\Packages' - inputs: - SourceFolder: '$(system.defaultworkingdirectory)\.nupkg' - Contents: '*.nupkg' - TargetFolder: '$(build.artifactstagingdirectory)\Packages' - CleanTargetFolder: true - condition: succeededOrFailed() - -- task: PublishBuildArtifacts@1 - displayName: 'Publish Artifact: drop' - inputs: - PathtoPublish: '$(build.artifactstagingdirectory)' - condition: succeededOrFailed() - -- task: NuGetCommand@2 - displayName: 'NuGet push' - inputs: - command: push - packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;' - publishVstsFeed: '0b85ebc7-d3b9-4844-886e-848213247f91' - allowPackageConflicts: true