-
Notifications
You must be signed in to change notification settings - Fork 644
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10091 (Merge NuGet.Jobs int NuGetGallery)
- Loading branch information
Showing
2,104 changed files
with
204,247 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
name: NuGet.Jobs CI $(BuildId) | ||
|
||
trigger: | ||
branches: | ||
include: | ||
- '*' | ||
batch: True | ||
|
||
variables: | ||
- name: Assemblies | ||
value: '' | ||
- name: BuildConfiguration | ||
value: Release | ||
- name: Codeql.Enabled | ||
value: true | ||
- name: NUGET_SNK_PATH_DISABLED | ||
value: $(NuGetJobsPath)\build\private\Signing\keys\35MSSharedLib1024.snk | ||
- name: nugetMultiFeedWarnLevel | ||
value: none | ||
- name: NugetSecurityAnalysisWarningLevel | ||
value: none | ||
- name: GalleryPackageVersion | ||
value: $(GalleryAssemblyVersion)-$(NuGetJobsBranch)-$(Build.BuildId) | ||
- name: GalleryAssemblyVersion | ||
value: 4.4.5 | ||
- name: JobsPackageVersion | ||
value: $(JobsAssemblyVersion)-$(NuGetJobsBranch)-$(Build.BuildId) | ||
- name: JobsAssemblyVersion | ||
value: 4.3.0 | ||
- name: UsePrivateRepo | ||
value: false | ||
- name: PrivateRepoBranch | ||
value: main | ||
- name: NuGetJobsDirectory | ||
value: nj | ||
- name: NuGetJobsPath | ||
value: $(Agent.BuildDirectory)\$(NuGetJobsDirectory) | ||
- name: ArtifactsFolder | ||
value: $(NuGetJobsPath)\artifacts | ||
- name: NuGetJobsBranch | ||
value: $(Build.SourceBranchName) | ||
|
||
resources: | ||
repositories: | ||
- repository: self | ||
type: git | ||
ref: refs/heads/main | ||
- repository: 1ESPipelineTemplates | ||
type: git | ||
name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
ref: refs/tags/release | ||
|
||
extends: | ||
template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates | ||
parameters: | ||
pool: | ||
name: NuGet-1ES-Hosted-Pool | ||
image: NuGet-1ESPT-Win2022 | ||
os: windows | ||
customBuildTags: | ||
- ES365AIMigrationTooling | ||
stages: | ||
- stage: stage | ||
jobs: | ||
- job: Phase_1 | ||
displayName: Phase 1 | ||
cancelTimeoutInMinutes: 1 | ||
steps: | ||
- checkout: self | ||
fetchDepth: 1 | ||
clean: true | ||
fetchTags: false | ||
path: $(NuGetJobsDirectory) | ||
- task: PowerShell@1 | ||
name: PowerShell_1 | ||
displayName: Build | ||
inputs: | ||
scriptName: $(NuGetJobsPath)\build.ps1 | ||
arguments: -Configuration $(BuildConfiguration) -BuildNumber $(Build.BuildId) -SkipGallery -GalleryAssemblyVersion $(GalleryAssemblyVersion) -GalleryPackageVersion $(GalleryPackageVersion) -JobsAssemblyVersion $(JobsAssemblyVersion) -JobsPackageVersion $(JobsPackageVersion) -Branch $(NuGetJobsBranch) -CommitSHA $(Build.SourceVersion) | ||
workingFolder: $(NuGetJobsPath) | ||
- task: PowerShell@1 | ||
name: PowerShell_2 | ||
displayName: Run unit tests | ||
inputs: | ||
scriptName: $(NuGetJobsPath)\test.ps1 | ||
arguments: -Configuration $(BuildConfiguration) -BuildNumber $(Build.BuildId) -SkipGallery | ||
workingFolder: $(NuGetJobsPath) | ||
- task: PublishTestResults@2 | ||
name: PublishTestResults_3 | ||
displayName: Publish Test Results Results.*.xml | ||
condition: succeededOrFailed() | ||
inputs: | ||
testRunner: VSTest | ||
testResultsFiles: $(NuGetJobsPath)\Results.*.xml | ||
failTaskOnFailedTests: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.10.35027.167 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BasicSearchTests.FunctionalTests.Core", "tests\BasicSearchTests.FunctionalTests.Core\BasicSearchTests.FunctionalTests.Core.csproj", "{9C9B809A-A205-4288-8CCE-3EC8F42E5184}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NuGet.Services.AzureSearch.FunctionalTests", "tests\NuGet.Services.AzureSearch.FunctionalTests\NuGet.Services.AzureSearch.FunctionalTests.csproj", "{32E258FC-ADE1-4C2D-B30A-B2359958D233}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{9C9B809A-A205-4288-8CCE-3EC8F42E5184}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{9C9B809A-A205-4288-8CCE-3EC8F42E5184}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{9C9B809A-A205-4288-8CCE-3EC8F42E5184}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{9C9B809A-A205-4288-8CCE-3EC8F42E5184}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{32E258FC-ADE1-4C2D-B30A-B2359958D233}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{32E258FC-ADE1-4C2D-B30A-B2359958D233}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{32E258FC-ADE1-4C2D-B30A-B2359958D233}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{32E258FC-ADE1-4C2D-B30A-B2359958D233}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {C32FA5BC-0AC5-4AE4-938B-66CC1B9AE8CA} | ||
EndGlobalSection | ||
EndGlobal |
Oops, something went wrong.