summaryrefslogtreecommitdiffstats
path: root/jjb/oom/oom-jobs.yaml
blob: 02eae3fe3b2ef3747513bcdf2b8918ec5f1a36b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
- job-template:
    name: '{project-name}-{stream}-yaml-lint'
    node: '{build-node}'
    type: freestyle
    build_script: ''
    pattern: '**'

    parameters:
      - lf-infra-parameters:
          branch: '{branch}'
          project: 'oom/{project-name}'
          stream: '{stream}'
          lftools-version: '{lftools-version}'

    scm:
      - gerrit-trigger-scm:
          refspec: '$GERRIT_REFSPEC'
          submodule-recursive: '{submodule-recursive}'
          choosing-strategy: 'gerrit'

    triggers:
      - gerrit-trigger-patch-submitted:
          server: '{server-name}'
          project: 'oom/{project-name}'
          branch: '{branch}'
          files: '{obj:pattern}'

    builders:
      - shell: '{obj:build_script}'

    publishers:
      - lf-infra-publish