Skip to content

Fix MicroBuild JAR signing regression - #12293

Merged
Miller Wang (wangmingliang-ms) merged 1 commit into
developfrom
wangmi/fix-microbuild-signing
Aug 17, 2026
Merged

Fix MicroBuild JAR signing regression#12293
Miller Wang (wangmingliang-ms) merged 1 commit into
developfrom
wangmi/fix-microbuild-signing

Conversation

@wangmingliang-ms

Copy link
Copy Markdown
Collaborator

Summary

  • pin MicroBuild.Plugins.Signing to the last known-good 1.1.1330 release
  • pass System.AccessToken to plugin installation and JAR signing
  • stop immediately when DDSignFiles returns a non-zero exit code

Root cause

Scheduled real-sign builds started failing after the signing package automatically moved from 1.1.1330 to 1.1.1374. The newer package looks for authentication certificate ea4022a2-6f71-4214-88b6-18d2bbd6b4cc, while PME installs AUTH-CORP with subject dec434ad-6bd4-4a20-b400-4bf6db7fc3fb.

The signing loop also ignored the failed process exit code, causing the task to retry every JAR until its four-hour timeout.

Failed build: https://mseng.visualstudio.com/VSJava/_build/results?buildId=31892392

Validation

  • git diff --check
  • targeted checks for the pinned package, access-token propagation, fail-fast handling, and changed-file scope

Pin the last known-good signing package, forward the build access token, and fail immediately when DDSignFiles returns an error.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@Flanker32 Hanxiao Liu (Flanker32) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wangmingliang-ms
Miller Wang (wangmingliang-ms) merged commit b7b1a20 into develop Aug 17, 2026
5 checks passed
@wangmingliang-ms
Miller Wang (wangmingliang-ms) deleted the wangmi/fix-microbuild-signing branch August 17, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants