我的values.yaml运行正常。
我想添加Jcasc Config Yml以自动添加管道,但是找不到values.yml文件的格式。
当前我有以下内容,并希望引用Jenkins.yaml
JCasC:
enabled: true
pluginVersion: 1.35
configScripts:
welcome-message: |
jenkins:
systemMessage: Welcome to our CI\CD server. This Jenkins is configured and managed 'as code'.
configScripts:
部分应放置什么?仅configScripts: ./jenkins.yaml
吗?
能够像下面这样添加为工作,
jobs:
Test-Job: |-
<?xml version='1.0' encoding='UTF-8'?>
<project>
<keepDependencies>false</keepDependencies>
<properties/>
<scm class="hudson.scm.NullSCM"/>
<canRoam>false</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers/>
<concurrentBuild>false</concurrentBuild>
<builders/>
<publishers/>
<buildWrappers/>
</project>