summaryrefslogtreecommitdiffstats
path: root/jjb/oom/oom-jobs.yaml
blob: ea1529755eeed8bbd643e2a5cd1bb7f993bb12fb (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
---
- job-template:
    name: "{project-name}-{stream}-review"
    node: "{build-node}"
    project-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