今天,我们的 Azure Devops 管道中的部署作业都显示警告:
##[warning]Resource file has already set to: D:\a\_tasks\AzureKeyVault_1e244d.........\1.212.0\node_modules\azure-pipelines-tasks-azure-arm-rest-v2\module.json
此外,传递到作业中的变量作为空字符串传递,从而导致失败。- 这个问题似乎已于 11 月 3 日解决。
不用说,我们已多次重新运行管道,但无济于事,并且已查看了 Azure Devops 状态页面 - 没有显示任何问题。
昨天(11月1日)管道全部正常运行。
对于引用链接到密钥保管库的变量组的任何部署作业,似乎都会出现警告,例如
- deployment: MyDeployment
pool:
vmImage: ubuntu-20.04
variables:
- group: MyKeyVaultLinkedVariableGroup
Run Code Online (Sandbox Code Playgroud) 自从将我们的构建代理从 PowerShell 7.2.11 升级到 7.2.12 以来,他们一直报告以下错误:
Cannot bind parameter 'AccessToken'. Cannot convert the *** value of type "System.String" to type "System.Security.SecureString".
Run Code Online (Sandbox Code Playgroud)
我们的脚本如下:
Cannot bind parameter 'AccessToken'. Cannot convert the *** value of type "System.String" to type "System.Security.SecureString".
Run Code Online (Sandbox Code Playgroud)
这之前是有效的,回滚到我们之前的构建代理映像已经解决了这个问题。