blob: bdb3409d431d222dc8b3bca768ef07fa0179063e [file] [log] [blame]
Kailash Khalasi69c8fcd2018-05-09 09:43:49 -07001---
2# maven job for 'aaa' repo
3
4- project:
5 name: aaa
6
7 project-name: '{name}'
8
9 jobs:
10 - 'aaa':
11 branch-regexp: '{supported-branches-regexp}'
12
13
14- job-template:
15 id: aaa
16 name: 'aaa-gerrit'
17 description: |
18 <!-- Managed by Jenkins Job Builder -->
19 Created by {id} job-template from ci-management/jjb/aaa.yaml
20
21 node: 'ubuntu16.04-basebuild-1c-2g'
22 project-type: maven
23 maven:
24 root-pom: pom.xml
25 goals: 'clean install'
26
Kailash Khalasif3f15bd2018-05-09 09:58:52 -070027 parameters:
28 - string:
Kailash Khalasia5ca0c72018-05-09 12:00:21 -070029 name: GERRIT_BRANCH
30 default: 'master'
Kailash Khalasif3f15bd2018-05-09 09:58:52 -070031 description: 'Use default when using "Build Now"'
32
33 - string:
Kailash Khalasia5ca0c72018-05-09 12:00:21 -070034 name: GERRIT_REFSPEC
35 default: 'refs/heads/master'
Kailash Khalasif3f15bd2018-05-09 09:58:52 -070036 description: 'Use default when using "Build Now"'
37
Kailash Khalasi69c8fcd2018-05-09 09:43:49 -070038 triggers:
39 - cord-infra-gerrit-trigger-patchset:
40 gerrit-server-name: '{gerrit-server-name}'
41 project-regexp: 'aaa'
42 branch-regexp: '{branch-regexp}'
43 file-include-regexp: '{all-files-regexp}'
44 dependency-jobs: '{dependency-jobs}'
45
46 properties:
47 - cord-infra-properties:
48 build-days-to-keep: '{build-days-to-keep}'
49 artifact-num-to-keep: '{artifact-num-to-keep}'
Kailash Khalasia5ca0c72018-05-09 12:00:21 -070050
51 scm:
52 - git:
53 url: '{gerrit-server-url}/aaa'
54 branches: '$GERRIT_BRANCH'
55 refspec: '$GERRIT_RECSPEC'
56 choosing-strategy: 'gerrit'
57 do-not-fetch-tags: true
58 shallow-clone: true