summaryrefslogtreecommitdiffstats
path: root/jjb/demo/demo.yaml
blob: 5af773983f6bf4d5a47d36adb27778f1e6a40155 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
- project:
    name: demo-project-view
    project-name: demo
    views:
      - project-view

- project:
    name: demo
    project-name: 'demo'
    jobs:
      - '{project-name}-{stream}-verify-java'
      - '{project-name}-{stream}-merge-java'
      - gerrit-maven-stage:
          sign-artifacts: true
          build-node: centos7-builder-4c-4g
          maven-versions-plugin: true
      - '{project-name}-gerrit-release-jobs':
          build-node: centos7-docker-8c-8g

    project: 'demo'
    stream:
      - 'master':
          branch: 'master'
      - 'istanbul':
          branch: 'istanbul'
      - 'honolulu':
          branch: 'honolulu'
    mvn-settings: 'demo-settings'
    files: '**'
    archive-artifacts: ''

- project:
    name: demo-sonar
    jobs:
      - gerrit-maven-sonar
    sonarcloud: true
    sonarcloud-project-organization: '{sonarcloud_project_organization}'
    sonarcloud-api-token: '{sonarcloud_api_token}'
    sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
    sonar-mvn-goal: '{sonar_mvn_goal}'
    cron: '@daily'
    build-node: ubuntu1804-builder-4c-4g
    project: 'demo'
    project-name: 'demo'
    branch: 'master'
    mvn-settings: 'demo-settings'
    mvn-goals: 'clean install'
    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'

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

- project:
    name: demo-linters
    project: 'demo'
    project-name: 'demo'
    python-version: python3
    jobs:
      - integration-linters
    subproject:
      - 'yaml':
          tox-dir: '.'
          tox-envs: 'yaml'
          pattern: '**/*.yaml'
      - 'yml':
          tox-dir: '.'
          tox-envs: 'yaml'
          pattern: '**/*.yml'
      - 'json':
          tox-dir: '.'
          tox-envs: 'json'
          pattern: '**/*.json'
      - 'python':
          tox-dir: '.'
          tox-envs: 'py'
          pattern: '**/*.py'
    stream:
      - 'master':
          branch: 'master'
      - 'istanbul':
          branch: 'istanbul'
      - 'honolulu':
          branch: 'honolulu'