我正在尝试使用 Jenkins Job Builder 在文件夹中创建一个 Jenkins Job,到目前为止还没有运气;(
以下创建作业和文件夹,但作业不在文件夹内;(
请帮忙
rest-framework.yaml 的内容
- job:
name: folder_test
project-type: folder
primary-view: project_view
health-metrics:
- worst-child-health-metric
- view:
name: project_view
view-type: list
folder: true
columns:
- status
- weather
- job
- last-success
- last-failure
- last-duration
regex: (?!rest-framework.*).*
- job-template:
name: '{name}-hello-world'
builders:
- shell: 'echo "hello world!"'
- project:
name: rest-framework
jobs:
- '{name}-hello-world'