From 9529521059d0aa27f32426abfc7c92d74a27712e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 17 Dec 2025 17:01:45 +0000 Subject: [PATCH 1/4] Initial plan From 2aa64af71e4d7c70f12ae9b7f3648d73a79f250a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 17 Dec 2025 17:12:00 +0000 Subject: [PATCH 2/4] Add step to publish SDK artifacts in CI pipeline Co-authored-by: mthalman <15789599+mthalman@users.noreply.github.com> --- eng/pipelines/templates/jobs/sdk-build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/eng/pipelines/templates/jobs/sdk-build.yml b/eng/pipelines/templates/jobs/sdk-build.yml index a9fc3537bfcb..d8ba4a2af705 100644 --- a/eng/pipelines/templates/jobs/sdk-build.yml +++ b/eng/pipelines/templates/jobs/sdk-build.yml @@ -132,6 +132,15 @@ jobs: BuildConfig: $(buildConfiguration) OPENSSL_ENABLE_SHA1_SIGNATURES: 1 + ############### PUBLISH SDK ARTIFACTS ############### + - task: ${{ parameters.oneESCompat.publishTaskPrefix }}PublishPipelineArtifact@1 + displayName: 🟣 Publish SDK Artifacts + inputs: + targetPath: $(Build.SourcesDirectory)/artifacts/packages/$(buildConfiguration)/Shipping + artifactName: $(System.PhaseName)_SDK + continueOnError: true + condition: succeededOrFailed() + ############### TESTING ############### - ${{ if eq(parameters.runTests, true) }}: - ${{ if eq(parameters.runAoTTests, true) }}: From 3161a3d979276a1ff46544fd0a698a3e62c797d6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 17 Dec 2025 17:14:11 +0000 Subject: [PATCH 3/4] Add descriptive comment for SDK artifact publishing Co-authored-by: mthalman <15789599+mthalman@users.noreply.github.com> --- eng/pipelines/templates/jobs/sdk-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eng/pipelines/templates/jobs/sdk-build.yml b/eng/pipelines/templates/jobs/sdk-build.yml index d8ba4a2af705..c95c714ec973 100644 --- a/eng/pipelines/templates/jobs/sdk-build.yml +++ b/eng/pipelines/templates/jobs/sdk-build.yml @@ -133,6 +133,8 @@ jobs: OPENSSL_ENABLE_SHA1_SIGNATURES: 1 ############### PUBLISH SDK ARTIFACTS ############### + # Publishes the built SDK installer artifacts (zip, tar.gz, pkg, exe, msi, deb, rpm) to pipeline artifacts. + # This enables validation and troubleshooting, particularly for PRs where local build output isn't available. - task: ${{ parameters.oneESCompat.publishTaskPrefix }}PublishPipelineArtifact@1 displayName: 🟣 Publish SDK Artifacts inputs: From d7cc8d2c292f66d4edb3813e2465d4139e49c311 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 17 Dec 2025 18:17:44 +0000 Subject: [PATCH 4/4] Include retry number in SDK artifact name to avoid collisions Co-authored-by: mthalman <15789599+mthalman@users.noreply.github.com> --- eng/pipelines/templates/jobs/sdk-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/templates/jobs/sdk-build.yml b/eng/pipelines/templates/jobs/sdk-build.yml index c95c714ec973..59324266bbda 100644 --- a/eng/pipelines/templates/jobs/sdk-build.yml +++ b/eng/pipelines/templates/jobs/sdk-build.yml @@ -139,7 +139,7 @@ jobs: displayName: 🟣 Publish SDK Artifacts inputs: targetPath: $(Build.SourcesDirectory)/artifacts/packages/$(buildConfiguration)/Shipping - artifactName: $(System.PhaseName)_SDK + artifactName: $(System.PhaseName)_SDK_Attempt$(System.JobAttempt) continueOnError: true condition: succeededOrFailed()