a833d1fde6
This adds a job type "githuborg", which creates multibranch pipelines for all repos in the org that contain the specified Jenkinsfile. Signed-off-by: Eric Ball <eball@linuxfoundation.org> Change-Id: I148e2300f3b1ee148b51d25a2a805ed0b5a97862
102 lines
3.4 KiB
YAML
102 lines
3.4 KiB
YAML
name: github-org-full
|
|
project-type: githuborg
|
|
github-org:
|
|
api-uri: http://example.org/github
|
|
ssh-checkout:
|
|
credentials: 'ssh_secret'
|
|
repo-owner: example-owner
|
|
credentials-id: example-credential
|
|
branch-discovery: all
|
|
head-filter-regex: "(.*/master|.*/release/.*)"
|
|
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"
|
|
discover-pr-forks-strategy: both
|
|
discover-pr-forks-trust: everyone
|
|
discover-pr-origin: both
|
|
discover-tags: true
|
|
notification-context: 'jenkins.example.com/my_context'
|
|
property-strategies:
|
|
all-branches:
|
|
- suppress-scm-triggering: true
|
|
- pipeline-branch-durability-override: max-survivability
|
|
- trigger-build-on-pr-comment: "Ci build!"
|
|
- trigger-build-on-pr-review: true
|
|
- trigger-build-on-pr-update: true
|
|
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: {}
|
|
clean:
|
|
after: true
|
|
before: true
|
|
committer:
|
|
user: CI System
|
|
email: no-reply@ci.example.com
|
|
prune: true
|
|
local-branch: true
|
|
sparse-checkout:
|
|
paths:
|
|
- "path1"
|
|
- "path2"
|
|
- "path3"
|
|
shallow-clone: true
|
|
depth: 3
|
|
do-not-fetch-tags: true
|
|
disable-pr-notifications: true
|
|
refspecs:
|
|
- '+refs/heads/*:refs/remotes/@{remote}/*'
|
|
submodule:
|
|
disable: false
|
|
recursive: true
|
|
parent-credentials: true
|
|
timeout: 100
|
|
threads: 1
|
|
timeout: "100"
|
|
skip-notifications: true
|
|
use-author: true
|
|
wipe-workspace: true
|
|
lfs-pull: true
|