Skip to content

Commit 69ec50e

Browse files
authored
[jjbb] enable multibranch job (#3)
1 parent 8db70fe commit 69ec50e

File tree

3 files changed

+70
-0
lines changed

3 files changed

+70
-0
lines changed

.ci/jobs/apm-agent-ruby.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
- job:
3+
name: apm-agent-ruby
4+
project-type: folder

.ci/jobs/defaults.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
3+
##### GLOBAL METADATA
4+
5+
- meta:
6+
cluster: apm-ci
7+
8+
##### JOB DEFAULTS
9+
10+
- job:
11+
view: APM-CI
12+
project-type: multibranch
13+
logrotate:
14+
daysToKeep: 30
15+
numToKeep: 300
16+
number-to-keep: '100'
17+
days-to-keep: '30'
18+
concurrent: true
19+
node: linux
20+
periodic-folder-trigger: 1w
21+
prune-dead-branches: true
22+
publishers:
23+
- email:
24+
recipients: infra-root+build@elastic.co

.ci/jobs/ecs-logging-ruby-mbp.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
- job:
3+
name: apm-agent-ruby/ecs-logging-ruby-mbp
4+
display-name: ECS logging Ruby
5+
description: ECS logging Ruby
6+
script-path: .ci/Jenkinsfile
7+
scm:
8+
- github:
9+
branch-discovery: no-pr
10+
discover-pr-forks-strategy: merge-current
11+
discover-pr-forks-trust: permission
12+
discover-pr-origin: merge-current
13+
discover-tags: true
14+
notification-context: 'apm-ci'
15+
repo: ecs-logging-ruby
16+
repo-owner: elastic
17+
credentials-id: 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken
18+
ssh-checkout:
19+
credentials: f6c7695a-671e-4f4f-a331-acdce44ff9ba
20+
build-strategies:
21+
- tags:
22+
ignore-tags-older-than: -1
23+
ignore-tags-newer-than: -1
24+
- regular-branches: true
25+
- change-request:
26+
ignore-target-only-changes: false
27+
clean:
28+
after: true
29+
before: true
30+
prune: true
31+
shallow-clone: true
32+
depth: 3
33+
do-not-fetch-tags: true
34+
submodule:
35+
disable: false
36+
recursive: true
37+
parent-credentials: true
38+
timeout: 100
39+
reference-repo: /var/lib/jenkins/.git-references/ecs-logging-ruby.git
40+
timeout: '15'
41+
use-author: true
42+
wipe-workspace: 'True'

0 commit comments

Comments
 (0)