1
2
3##### GLOBAL METADATA
4
5- meta:
6    cluster: clients-ci
7
8##### JOB DEFAULTS
9
10- job:
11    project-type: matrix
12    logrotate:
13      daysToKeep: 30
14      numToKeep: 100
15    properties:
16    - github:
17        url: https://github.com/elastic/elasticsearch-php/
18    - inject:
19        properties-content: HOME=$JENKINS_HOME
20    concurrent: true
21    node: flyweight
22    scm:
23    - git:
24        name: origin
25        credentials-id: f6c7695a-671e-4f4f-a331-acdce44ff9ba
26        reference-repo: /var/lib/jenkins/.git-references/elasticsearch-php.git
27        branches:
28        - ${branch_specifier}
29        url: https://github.com/elastic/elasticsearch-php.git
30        wipe-workspace: 'True'
31    triggers:
32    - github
33    vault:
34      # vault read auth/approle/role/clients-ci/role-id
35      role_id: ddbd0d44-0e51-105b-177a-c8fdfd445126
36    axes:
37    - axis:
38        type: slave
39        name: label
40        values:
41        - linux
42    - axis:
43        type: yaml
44        filename: .ci/test-matrix.yml
45        name: STACK_VERSION
46    - axis:
47        type: yaml
48        filename: .ci/test-matrix.yml
49        name: PHP_VERSION
50    - axis:
51        type: yaml
52        filename: .ci/test-matrix.yml
53        name: TEST_SUITE
54    yaml-strategy:
55      exclude-key: exclude
56      filename: .ci/test-matrix.yml
57    wrappers:
58    - ansicolor
59    - timeout:
60        type: absolute
61        timeout: 120
62        fail: true
63    - timestamps
64    - workspace-cleanup
65    builders:
66    - shell: |-
67        #!/usr/local/bin/runbld
68        .ci/run-tests
69    publishers:
70    - email:
71        recipients: build-lang-clients@elastic.co
72    - junit:
73        results: "tests/*-junit.xml"
74        allow-empty-results: true
75