93 lines
3.2 KiB
YAML
93 lines
3.2 KiB
YAML
name: 'demo-multibranch-git-min'
|
|
project-type: multibranch
|
|
script-path: some.Jenkinsfile
|
|
scm:
|
|
- git:
|
|
url: 'https://example.com/jonhndoe/keep-frontend.git'
|
|
credentials-id: secret
|
|
discover-branches: false
|
|
ignore-on-push-notifications: true
|
|
discover-tags: true
|
|
head-filter-regex: 'master|\d+\.\d+'
|
|
head-pr-filter-behaviors:
|
|
head-pr-destined-regex:
|
|
branch-regexp: "foo/.*"
|
|
tag-regexp: "20\\..*"
|
|
head-pr-destined-wildcard:
|
|
branch-includes: "foo*"
|
|
tag-includes: "qaz*"
|
|
branch-excludes: "bar*"
|
|
tag-excludes: "*baz"
|
|
head-pr-originated-regex:
|
|
branch-regexp: "(foo/.*|bar/.*)"
|
|
tag-regexp: "1\\..*"
|
|
head-pr-originated-wildcard:
|
|
branch-includes: "qaz*"
|
|
tag-includes: "bar*"
|
|
branch-excludes: "baz*"
|
|
tag-excludes: "*qaz"
|
|
property-strategies:
|
|
all-branches:
|
|
- suppress-scm-triggering: true
|
|
- pipeline-branch-durability-override: max-survivability
|
|
build-strategies:
|
|
- all-strategies-match:
|
|
strategies:
|
|
- regular-branches: true
|
|
- skip-initial-build: true
|
|
- any-strategies-match:
|
|
strategies:
|
|
- change-request: {}
|
|
- tags: {}
|
|
- tags:
|
|
ignore-tags-newer-than: 1
|
|
ignore-tags-older-than: 7
|
|
- tags: {}
|
|
- change-request:
|
|
ignore-target-only-changes: true
|
|
- change-request: {}
|
|
- regular-branches: true
|
|
- skip-initial-build: true
|
|
- named-branches:
|
|
- exact-name:
|
|
name: 'test'
|
|
case-sensitive: true
|
|
- regex-name:
|
|
regex: 'test.*$'
|
|
case-sensitive: true
|
|
- wildcards-name:
|
|
excludes: 'testexclude'
|
|
includes: 'testinclude'
|
|
- named-branches:
|
|
- exact-name: {}
|
|
- regex-name: {}
|
|
- wildcards-name: {}
|
|
- raw:
|
|
xml: |
|
|
<com.igalg.jenkins.plugins.multibranch.buildstrategy.IncludeRegionBranchBuildStrategy plugin="multibranch-build-strategy-extension">
|
|
<includedRegions>my/cool/project/*.cpp</includedRegions>
|
|
</com.igalg.jenkins.plugins.multibranch.buildstrategy.IncludeRegionBranchBuildStrategy>
|
|
clean:
|
|
after: true
|
|
before: true
|
|
prune: true
|
|
local-branch: true
|
|
sparse-checkout:
|
|
paths:
|
|
- "path1"
|
|
- "path2"
|
|
- "path3"
|
|
shallow-clone: true
|
|
depth: 3
|
|
do-not-fetch-tags: true
|
|
submodule:
|
|
disable: false
|
|
recursive: true
|
|
parent-credentials: true
|
|
timeout: 100
|
|
threads: 1
|
|
timeout: "100"
|
|
use-author: true
|
|
wipe-workspace: true
|
|
lfs-pull: true
|