You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Azure DevOps中使用signtool.exe结合Azure可信签名账户时进程挂起问题求助

Azure DevOps中使用signtool.exe结合Azure可信签名账户时进程挂起问题求助

大家好,我最近在Azure DevOps的流水线脚本里碰到了个头疼的问题:当用signtool.exe配合Azure可信签名账户执行签名操作时,流程一直卡在下面这个步骤停滞不前,完全没有后续输出:

Submitting digest for signing...

下面是我们使用的PowerShell任务脚本片段,这个脚本是参考Azure可信签名相关文档编写的(注:原脚本内容有部分截断):

- task: PowerShell@2
  displayName: Preparing Windows EXE signing tools
  inputs:
    targetType: 'inline'
    workingDirectory: $(Pipeline.Workspace)/windows-signing-tool
    script: |
      Set-PSDebug -Trace 1
      Invoke-WebRequest -Uri https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile .\nuget.exe
      .\nuget.exe install Microsoft.Windows.SDK.BuildTools -Version 10.0.22621.3233 -x
      .\nuget.exe install Microsoft.Trusted.Signing.Client -Version 1.0.53 -x
      ./Microsoft.Windows.SDK.BuildT...

目前我已经检查过流水线的权限配置、代理网络连接等基础项,但还是没找到问题根源。有没有朋友遇到过类似的情况?或者能给我一些排查的思路?

备注:内容来源于stack exchange,提问作者The Fabio

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.16 07:08:17