azure-pipelines - Azure 管道调试日志记录
问题描述
使用 YAML 模板,我的理解是,当我使用 system.debug 运行代码时,下面的代码应该记录参数:true。有人能告诉我我做错了什么吗?
parameters:
- name: branchName
displayName: 'Repository branch name'
type: string
- name: WebAppName
displayName: 'Application name'
type: string
- name: ServiceConnection
displayName: 'ServiceConnection name'
type: string
- name: Workspace
displayName: 'Workspace name'
type: string
##[group]Beginning of a DeployTemplate Parameters
##[debug]Debug branchName: ${{parameters.branchName}}
##[debug]Debug WebAppName: ${{parameters.WebAppName}}
##[debug]Debug ServiceConnection: ${{parameters.ServiceConnection}}
##[debug]Debug Workspace: ${{parameters.Workspace}}
##[debug]Build.SourceBranchName: variables['Build.SourceBranchName']
##[endgroup]
解决方案
推荐阅读
- windows - Windows10 WSL2“gpg:无法连接到代理:IPC连接调用失败”
- python - Django:如何在不刷新页面的情况下在 Django 模板中加载新的最近评论?
- oop - 从最终用户的角度来看,抽象的意义是什么
- node.js - 为什么我的 AWS IoT SDK 事物影子更新请求使用 Node SDK 超时?
- data-structures - 使用分离链接时,哈希表的后备数组链接列表的元素是否从初始点开始?
- vb.net - 在 Visual Basic 中清除文本文件
- node.js - 通过节点和猫鼬成功将数据存储在MongoDB中后的RangeError
- php - 测试设置私有属性:我们可以使用模拟设置值并反映属性来检查是否设置了值吗?
- python - 删除 Matplotlib 的 FuncAnimation 中的旧艺术家
- javascript - React:在 onClick 中调用函数返回未定义