Skip to content

Commit 8300644

Browse files
committed
Add healthcheck for windows signing
1 parent a58c354 commit 8300644

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tools/pkg/build.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,13 @@ def windows(
452452
if ret.returncode:
453453
ctx.error(f"Failed to run '{' '.join(command)}'")
454454

455+
# DIGICERT asked me to add this for troubleshooting
456+
command = ["smctl.exe", "healthcheck"]
457+
ctx.info("Running Health Check...")
458+
ret = ctx.run(*command, env=env, check=False)
459+
if ret.returncode:
460+
ctx.error(f"Failed to run '{' '.join(command)}'")
461+
455462
# command = ["smksp_cert_sync.exe"]
456463
# ctx.info(f"Running: '{' '.join(command)}' ...")
457464
# ret = ctx.run(*command, env=env, check=False)

0 commit comments

Comments
 (0)