summaryrefslogtreecommitdiffstats
path: root/jjb/oom/oom-oneclick-config.yaml
blob: 8defb44ab28517396f98e2890b80ddfcb050d2f4 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
- project:
    name: oom-project-view
    project-name: oom
    views:
      - project-view

- project:
   name: oomconfig
   project-name: 'oomconfig'
   project: 'oom'

   files: '**'
   archive-artifacts: ''
   build-timeout: 60
   build-node: ubuntu1804-docker-8c-8g
   submodule-recursive: true

   jobs:
     - '{project}-{stream}-release-config'
   stream:
     - 'master':
         branch: 'master'
   mvn-settings: 'oom-settings'

- job-template:
    name: '{project}-{stream}-release-config'
    project-type: freestyle
    node: '{build-node}'

    properties:
      - infra-properties:
          build-days-to-keep: 14

    scm:
      - gerrit-trigger-scm:
          refspec: 'refs/heads/master'
          choosing-strategy: 'gerrit'
          submodule-recursive: '{submodule-recursive}'

    wrappers:
      - infra-wrappers:
          build-timeout: '{build-timeout}'

    builders:
      - docker-login
      - shell: !include-raw-escape: oneclick-config-make-tar.sh
      - shell: !include-raw-escape: oneclick-config-build-docker-image.sh
      - shell: !include-raw-escape: ../include-docker-push.sh

- project:
    name: oomconfig-info
    project-name: oomconfig
    jobs:
      - gerrit-info-yaml-verify
    build-node: centos7-builder-2c-1g
    project: oom
    branch: master