From d26afe83529121296960cca113b449caeca4f1b6 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 20 Nov 2024 08:20:44 -0500 Subject: [PATCH 1/2] security: adds required pipeline metadata --- .azure-pipelines/ci-build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.azure-pipelines/ci-build.yml b/.azure-pipelines/ci-build.yml index 7c4a2d64af1..6a9f95ddab4 100644 --- a/.azure-pipelines/ci-build.yml +++ b/.azure-pipelines/ci-build.yml @@ -243,6 +243,13 @@ extends: dependsOn: build jobs: - deployment: deploy_nuget + templateContext: + type: releaseJob + isProduction: true + inputs: + - input: pipelineArtifact + artifactName: ReadyForReleasePipeline + targetPath: '$(Pipeline.Workspace)' pool: name: Azure-Pipelines-1ESPT-ExDShared os: windows From 181f3137e142a2d92cd03285474998e38199ecd3 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 20 Nov 2024 10:58:34 -0500 Subject: [PATCH 2/2] chore: removes redundant artifact download task --- .azure-pipelines/ci-build.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.azure-pipelines/ci-build.yml b/.azure-pipelines/ci-build.yml index 6a9f95ddab4..27730a81bec 100644 --- a/.azure-pipelines/ci-build.yml +++ b/.azure-pipelines/ci-build.yml @@ -265,11 +265,6 @@ extends: inputs: versionSpec: '>=5.2.0' checkLatest: true - - task: DownloadPipelineArtifact@2 - displayName: Download nupkg from artifacts - inputs: - artifact: ReadyForReleasePipeline - source: current - task: PowerShell@2 displayName: 'Get Latest Commit SHA from repo' inputs: