如何在Jenkins中使用配置为代码插件配置配置文件提供程序文件

如何在Jenkins中使用配置为代码插件配置配置文件提供程序文件,jenkins,yaml,jenkins-plugins,Jenkins,Yaml,Jenkins Plugins,我一直在使用配置为代码插件配置配置文件提供程序文件。 下面是我使用的YAML代码示例 unclassified: globalConfigFiles: configs: - custom: id: custom-test name: DummyCustom1 comment: dummy custom 1 content: dummy content 1 我想知道是否有方法将内容作为文件(或文件路径)提供 如果您能帮助解决此问题,我们将

我一直在使用配置为代码插件配置配置文件提供程序文件。 下面是我使用的YAML代码示例

unclassified:
 globalConfigFiles:
  configs:
  - custom:
      id: custom-test
      name: DummyCustom1
      comment: dummy custom 1
      content: dummy content 1
我想知道是否有方法将内容作为文件(或文件路径)提供


如果您能帮助解决此问题,我们将不胜感激。

这是不可能的。它不是特定于CasC的,只是配置文件提供程序插件没有提供它