Azure管道调试日志记录

时间:2020-08-10 20:43:03

标签: azure-pipelines

使用YAML模板,我的理解是,当我使用system.debug运行代码时,以下代码应记录参数:true。有人可以告诉我我做错了什么吗?

AcademicJPADAO.java

1 个答案:

答案 0 :(得分:1)

我测试了以下脚本,在我这边,参数值在日志中正常显示。您是在模板文件中为参数设置默认值还是将其传递给管道yaml中的参数?

参数模板yaml:

enter image description here

管道Yaml:

enter image description here

日志:

enter image description here