From b94f185e2c48d7f3c28a2221bc1d74d9d0ea2385 Mon Sep 17 00:00:00 2001 From: Praven Kuttappan <55455725+praveenkuttappan@users.noreply.github.com> Date: Wed, 29 Nov 2023 15:13:30 -0500 Subject: [PATCH] Remove default value for pipeline picklist params (#7357) * Parameters passed from powerapps are accessible as variables only --- .../devops-create-package-workitem.yml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/eng/pipelines/devops-create-package-workitem.yml b/eng/pipelines/devops-create-package-workitem.yml index 1b1f0f95a0a..6aa5cace714 100644 --- a/eng/pipelines/devops-create-package-workitem.yml +++ b/eng/pipelines/devops-create-package-workitem.yml @@ -5,7 +5,7 @@ pool: parameters: - name: Language type: string - default: '' + default: '.NET' values: - .NET - Java @@ -24,7 +24,7 @@ parameters: default: '' - name: PackageType type: string - default: '' + default: 'Client' values: - Client - mgmt @@ -58,13 +58,13 @@ steps: pwsh: true filePath: $(Build.SourcesDirectory)/eng/common/scripts/Update-DevOps-Release-WorkItem.ps1 arguments: > - -language "${{parameters.Language}}" - -serviceName "${{parameters.ServiceName}}" - -packageDisplayName "${{parameters.PackageDisplayName}}" - -packageType "${{parameters.PackageType}}" - -packageName "${{parameters.PackageName}}" - -version "${{parameters.PackageVersion}}" - -plannedDate "${{parameters.ReleaseDate}}" - -relatedWorkItemId ${{parameters.RelatedWorkItemId}} - -tag "${{parameters.Tag}}" + -language "$(Language)" + -serviceName "$(ServiceName)" + -packageDisplayName "$(PackageDisplayName)" + -packageType "$(PackageType)" + -packageName "$(PackageName)" + -version "$(PackageVersion)" + -plannedDate "$(ReleaseDate)" + -relatedWorkItemId "$(RelatedWorkItemId)" + -tag "$(Tag)" -devops_pat "$(azuresdk-azure-sdk-devops-release-work-item-pat)" \ No newline at end of file