Azure管道调试日志记录

问题描述

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

AcademicJPADAO.java

解决方法

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

参数模板yaml:

enter image description here

管道Yaml:

enter image description here

日志:

enter image description here