You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2020/07/15 02:30:04 UTC

[lucenenet] 08/14: azure-pipelines.yml: Cleaned up unused variable PublishedArtifactZipFileName

This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit b78efb08295be48b099d7d3523a2ae84b159279d
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Mon Jul 13 22:33:29 2020 +0700

    azure-pipelines.yml: Cleaned up unused variable PublishedArtifactZipFileName
---
 azure-pipelines.yml                       | 5 -----
 build/azure-templates/run-tests-on-os.yml | 2 --
 2 files changed, 7 deletions(-)

diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 2e7628e..af14c19 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -69,8 +69,6 @@ variables:
   value: '$(Build.ArtifactStagingDirectory)/$(BinaryArtifactName)'
 - name: NuGetArtifactDirectory # NuGet binaries directory
   value: '$(Build.ArtifactStagingDirectory)/$(NuGetArtifactName)'
-- name: PublishedArtifactZipFileName
-  value: 'published.zip'
 
 stages:
 - stage: Build_Stage
@@ -273,7 +271,6 @@ stages:
         osName: $(osName)
         framework: 'netcoreapp3.1'
         testResultsArtifactName: '$(TestResultsArtifactName)'
-        publishedArtifactZipFileName: '$(PublishedArtifactZipFileName)'
         maximumParallelJobs: $(maximumParallelJobs)
         maximumAllowedFailures: $(maximumAllowedFailures)
 
@@ -305,7 +302,6 @@ stages:
         osName: $(osName)
         framework: 'netcoreapp2.1'
         testResultsArtifactName: '$(TestResultsArtifactName)'
-        publishedArtifactZipFileName: '$(PublishedArtifactZipFileName)'
         maximumParallelJobs: $(maximumParallelJobs)
         maximumAllowedFailures: $(maximumAllowedFailures)
 
@@ -320,7 +316,6 @@ stages:
         osName: 'Windows'
         framework: 'net48'
         testResultsArtifactName: '$(TestResultsArtifactName)'
-        publishedArtifactZipFileName: '$(PublishedArtifactZipFileName)'
         maximumParallelJobs: 7
         maximumAllowedFailures: 4 # Maximum allowed failures for a successful build
 
diff --git a/build/azure-templates/run-tests-on-os.yml b/build/azure-templates/run-tests-on-os.yml
index 56118b7..1308f7c 100644
--- a/build/azure-templates/run-tests-on-os.yml
+++ b/build/azure-templates/run-tests-on-os.yml
@@ -27,7 +27,6 @@ parameters:
   vsTestPlatform: 'x64' # Target platform architecture used for test execution. Valid values are x86, x64, and ARM.
   testBinaryFilesPattern: '\.*\.Tests\.?[^\\/]*?\.?[^\\/]*?.dll$' # The regex pattern (within $(System.DefaultWorkingDirectory)/**/<TargetFramework>/) where to look for test .dll files, so they can be distinguished from other .dll file types.
   testResultsFileName: 'TestResults.trx' # The name of the file (not path) of the test results. Default 'TestResults.trx'.
-  publishedArtifactZipFileName: 'published.zip' # The name of the zip file (within the Azure DevOps build artifact binaryArtifactName) where the published test binaries can be extracted from. Default 'published.zip'.
   maximumParallelJobs: 8
   maximumAllowedFailures: 0
   where: '' # A test filter expression, as defined by dotnet vstest
@@ -49,7 +48,6 @@ steps:
     EnsureNotNullOrEmpty('${{ parameters.vsTestPlatform }}', 'vsTestPlatform')
     EnsureNotNullOrEmpty('${{ parameters.testBinaryFilesPattern }}', 'testBinaryFilesPattern')
     EnsureNotNullOrEmpty('${{ parameters.testResultsFileName }}', 'testResultsFileName')
-    EnsureNotNullOrEmpty('${{ parameters.publishedArtifactZipFileName }}', 'publishedArtifactZipFileName')
     EnsureNotNullOrEmpty('${{ parameters.maximumParallelJobs }}', 'maximumParallelJobs')
     EnsureNotNullOrEmpty('${{ parameters.maximumAllowedFailures }}', 'maximumAllowedFailures')
   displayName: 'Validate Template Parameters'