From ecf81d3ddecdb07f2ebda3c0ecffcda5415dcd15 Mon Sep 17 00:00:00 2001 From: Patrick Hallisey Date: Mon, 6 May 2024 15:58:24 -0700 Subject: [PATCH] Update to ESRP task version that supports federated auth --- eng/pipelines/templates/steps/java-publishing.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/templates/steps/java-publishing.yml b/eng/pipelines/templates/steps/java-publishing.yml index 6f8aeecf8156..016495e8e130 100644 --- a/eng/pipelines/templates/steps/java-publishing.yml +++ b/eng/pipelines/templates/steps/java-publishing.yml @@ -107,10 +107,14 @@ steps: -Path ${{ parameters.OutputDirectory }} -InformationAction Continue - ${{if and(eq(parameters.ShouldPublish, 'true'), ne(parameters.StageOnly, 'true'))}}: - - task: EsrpRelease@4 + - task: EsrpRelease@7 displayName: 'Publish to ESRP' inputs: - ConnectedServiceName: 'ESRP Release Service' + ConnectedServiceName: 'Azure SDK Engineering System' + ClientId: '5f81938c-2544-4f1f-9251-dd9de5b8a81b' + KeyVaultName: 'AzureSDKEngKeyVault' + AuthCertName: 'azure-sdk-esrp-release-auth-certificate' + SignCertName: 'azure-sdk-esrp-release-sign-certificate' Intent: 'PackageDistribution' ContentType: 'Maven' FolderLocation: ${{ parameters.OutputDirectory }}