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

时间:2019-09-03 08:19:33

标签: jenkins yaml jenkins-plugins

我一直关注this,使用“配置为代码”插件来配置config-file-provider文件。 下面提供的是我使用的示例YAML代码。

unclassified:
 globalConfigFiles:
  configs:
  - custom:
      id: custom-test
      name: DummyCustom1
      comment: dummy custom 1
      content: dummy content 1

我想知道是否有一种方法可以将内容作为文件(或文件路径)提供。

对于解决此问题的任何帮助,将不胜感激。

1 个答案:

答案 0 :(得分:0)

那是不可能的。它不是CasC专用的,只是配置文件提供程序插件不提供它。

相关问题